fix error when clearing vj context menu

This commit is contained in:
Saas
2025-11-01 17:04:58 +01:00
parent a70d7cf1f9
commit e78191cc82

View File

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