diff --git a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Editors/UniversalEditor.Editors.FileSystem.FileSystemEditor/Commands.uexml b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Editors/UniversalEditor.Editors.FileSystem.FileSystemEditor/Commands.uexml index 65a057d3..5764c5af 100644 --- a/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Editors/UniversalEditor.Editors.FileSystem.FileSystemEditor/Commands.uexml +++ b/CSharp/Content/UniversalEditor.Content.PlatformIndependent/Editors/UniversalEditor.Editors.FileSystem.FileSystemEditor/Commands.uexml @@ -84,7 +84,7 @@ - + @@ -106,6 +106,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/CSharp/Libraries/UniversalEditor.UserInterface/Editors/FileSystem/FileSystemEditor.cs b/CSharp/Libraries/UniversalEditor.UserInterface/Editors/FileSystem/FileSystemEditor.cs index cce9fb66..1b1c070a 100644 --- a/CSharp/Libraries/UniversalEditor.UserInterface/Editors/FileSystem/FileSystemEditor.cs +++ b/CSharp/Libraries/UniversalEditor.UserInterface/Editors/FileSystem/FileSystemEditor.cs @@ -559,7 +559,14 @@ namespace UniversalEditor.Editors.FileSystem if (row != null) { - tv.ContextMenuCommandID = "FileSystemContextMenu_Selected"; + if (row.GetExtraData("item") is Folder) + { + tv.ContextMenuCommandID = "FileSystemContextMenu_Selected_Folder"; + } + else + { + tv.ContextMenuCommandID = "FileSystemContextMenu_Selected_File"; + } } else {