steal right fix from Tryibions PR

This commit is contained in:
Saas
2026-02-07 19:58:26 +01:00
parent b5b1d84b3f
commit b19611e3d2

View File

@@ -585,7 +585,7 @@ namespace FlaxEditor.Surface.ContextMenu
private void UpdateFilters()
{
if (string.IsNullOrEmpty(_searchBox.Text) && _selectedBoxes.Count > 0 && _selectedBoxes[0] == null)
if (string.IsNullOrEmpty(_searchBox.Text) && _selectedBoxes.Count == 0)
{
ResetView();
Profiler.EndEvent();