provide default keybindings for Commander-style FileSystemEditor (this should be done in XML)
This commit is contained in:
parent
d6c5ed5b52
commit
e6c64a4886
@ -356,6 +356,11 @@ namespace UniversalEditor.Editors.FileSystem
|
||||
if (_er == null)
|
||||
{
|
||||
_er = base.MakeReference();
|
||||
_er.KeyBindings.Add(new KeyBinding("FileSystemContextMenu_CopyTo", KeyboardKey.F5, KeyboardModifierKey.None));
|
||||
_er.KeyBindings.Add(new KeyBinding("FileSystemContextMenu_Rename", KeyboardKey.F6, KeyboardModifierKey.None));
|
||||
_er.KeyBindings.Add(new KeyBinding("FileSystemContextMenu_New_Folder", KeyboardKey.F7, KeyboardModifierKey.None));
|
||||
_er.KeyBindings.Add(new KeyBinding("EditDelete", KeyboardKey.F8, KeyboardModifierKey.None));
|
||||
|
||||
_er.SupportedObjectModels.Add(typeof(FileSystemObjectModel));
|
||||
}
|
||||
return _er;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user