Skip to content

Commit

Permalink
Merge pull request #43397 from Calinou/fix-filesystem-copy-path-short…
Browse files Browse the repository at this point in the history
…cut-conflict

Use Ctrl+Shift+C as the default FileSystem dock Copy Path shortcut
  • Loading branch information
akien-mga authored Nov 10, 2020
2 parents b51dca6 + 5b40f9f commit e1a9ec4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion editor/filesystem_dock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down

0 comments on commit e1a9ec4

Please sign in to comment.