summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2020-11-08 19:43:29 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2020-11-08 19:44:52 +0100
commit5b40f9fddc9cb6923f494997e683a621fd31fd56 (patch)
treebfe82b95f70a6886417242cae6a6dfdf4d0867dc /editor
parent4206dc6ac95bed86d8f8d040a0e1b73431cdb750 (diff)
Use Ctrl+Shift+C as the default FileSystem dock Copy Path shortcut
This closes #43396.
Diffstat (limited to 'editor')
-rw-r--r--editor/filesystem_dock.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp
index 2052319e3e..ee0ee91893 100644
--- a/editor/filesystem_dock.cpp
+++ b/editor/filesystem_dock.cpp
@@ -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"));