Clear item search on select prefab

This commit is contained in:
Chandler Cox
2024-05-16 23:00:32 -05:00
parent 3404643636
commit 47b3141f18
3 changed files with 7 additions and 2 deletions

View File

@@ -131,7 +131,7 @@ namespace FlaxEditor.Windows
public void ClearItemsSearch()
{
// Skip if already cleared
if (_itemsSearchBox.TextLength == 0 && !_viewDropdown.HasSelection)
if (_itemsSearchBox.TextLength == 0)
return;
IsLayoutLocked = true;