Merge branch 'xxSeys1-ShowInContentPanel'
This commit is contained in:
@@ -76,6 +76,15 @@ namespace FlaxEditor.Windows
|
|||||||
});
|
});
|
||||||
|
|
||||||
cm.AddButton(Utilities.Constants.ShowInExplorer, () => FileSystem.ShowFileExplorer(System.IO.Path.GetDirectoryName(item.Path)));
|
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)
|
if (item.HasDefaultThumbnail == false)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user