Fix in visject cm sometimes not populating all options once search box is cleared.

This commit is contained in:
Chandler Cox
2023-01-08 16:04:55 -06:00
parent e7cf10aea8
commit 0cd562c528

View File

@@ -397,6 +397,13 @@ namespace FlaxEditor.Surface.ContextMenu
return;
Profiler.BeginEvent("VisjectCM.OnSearchFilterChanged");
if (string.IsNullOrEmpty(_searchBox.Text))
{
ResetView();
Profiler.EndEvent();
return;
}
// Update groups
LockChildrenRecursive();