Merge branch 'visject-cm-search-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-visject-cm-search-fix

This commit is contained in:
Wojciech Figat
2023-01-13 12:01:20 +01:00

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();