Merge branch 'ClearSearchOnAssetReferenceNavigate' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-ClearSearchOnAssetReferenceNavigate

This commit is contained in:
Wojtek Figat
2025-06-16 14:30:53 +02:00

View File

@@ -299,6 +299,7 @@ namespace FlaxEditor.GUI
{ {
// Select asset // Select asset
Editor.Instance.Windows.ContentWin.Select(Validator.SelectedItem); Editor.Instance.Windows.ContentWin.Select(Validator.SelectedItem);
Editor.Instance.Windows.ContentWin.ClearItemsSearch();
} }
} }
else if (Button1Rect.Contains(location)) else if (Button1Rect.Contains(location))
@@ -312,6 +313,7 @@ namespace FlaxEditor.GUI
{ {
// Select asset // Select asset
Editor.Instance.Windows.ContentWin.Select(Validator.SelectedItem); Editor.Instance.Windows.ContentWin.Select(Validator.SelectedItem);
Editor.Instance.Windows.ContentWin.ClearItemsSearch();
} }
else if (Button3Rect.Contains(location)) else if (Button3Rect.Contains(location))
{ {