Merge branch 'xxSeys1-ShowInContentPanel'

This commit is contained in:
Wojtek Figat
2025-03-02 23:05:31 +01:00

View File

@@ -76,6 +76,15 @@ namespace FlaxEditor.Windows
});
cm.AddButton(Utilities.Constants.ShowInExplorer, () => FileSystem.ShowFileExplorer(System.IO.Path.GetDirectoryName(item.Path)));
if (!String.IsNullOrEmpty(Editor.Instance.Windows.ContentWin._itemsSearchBox.Text))
{
cm.AddButton("Show in Content Panel", () =>
{
Editor.Instance.Windows.ContentWin.ClearItemsSearch();
Editor.Instance.Windows.ContentWin.Select(item);
});
}
if (item.HasDefaultThumbnail == false)
{