Merge pull request #43397 from Calinou/fix-filesystem-copy-path-shortcut-conflict

Use Ctrl+Shift+C as the default FileSystem dock Copy Path shortcut
This commit is contained in:
Rémi Verschelde 2020-11-10 09:53:48 +01:00 committed by GitHub
commit e1a9ec4e19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2665,7 +2665,8 @@ FileSystemDock::FileSystemDock(EditorNode *p_editor) {
editor = p_editor;
path = "res://";
ED_SHORTCUT("filesystem_dock/copy_path", TTR("Copy Path"), KEY_MASK_CMD | KEY_C);
// `KEY_MASK_CMD | KEY_C` conflicts with other editor shortcuts.
ED_SHORTCUT("filesystem_dock/copy_path", TTR("Copy Path"), KEY_MASK_CMD | KEY_MASK_SHIFT | KEY_C);
ED_SHORTCUT("filesystem_dock/duplicate", TTR("Duplicate..."), KEY_MASK_CMD | KEY_D);
ED_SHORTCUT("filesystem_dock/delete", TTR("Delete"), KEY_DELETE);
ED_SHORTCUT("filesystem_dock/rename", TTR("Rename"));