summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-07-19 22:46:25 +0200
committerGitHub <noreply@github.com>2021-07-19 22:46:25 +0200
commit5440fe14da2430a41958bb4632792e1e03a6c2a5 (patch)
tree13819342574f53c4e56f41109aa3c0f110a01fcb /editor
parent471aae3b76f96e431a2fa3c539497527f278d76b (diff)
parent1de8ff8393d60a11e4755d6c94b6fdc8bdd60937 (diff)
Merge pull request #50615 from DarkMessiah/reload-current-project-shortcut
Implemented the ability to add shortcut for Reload Current Project
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index 712e571e57..e18535a28c 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -6302,7 +6302,7 @@ EditorNode::EditorNode() {
tool_menu->add_item(TTR("Orphan Resource Explorer..."), TOOLS_ORPHAN_RESOURCES);
p->add_separator();
- p->add_item(TTR("Reload Current Project"), RUN_RELOAD_CURRENT_PROJECT);
+ p->add_shortcut(ED_SHORTCUT("editor/reload_current_project", TTR("Reload Current Project")), RUN_RELOAD_CURRENT_PROJECT);
#ifdef OSX_ENABLED
p->add_shortcut(ED_SHORTCUT("editor/quit_to_project_list", TTR("Quit to Project List"), KEY_MASK_SHIFT + KEY_MASK_ALT + KEY_Q), RUN_PROJECT_MANAGER, true);
#else