Merge pull request #50615 from DarkMessiah/reload-current-project-shortcut

Implemented the ability to add shortcut for Reload Current Project
This commit is contained in:
Rémi Verschelde 2021-07-19 22:46:25 +02:00 committed by GitHub
commit 5440fe14da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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