From 1749cc4da86919070f485701fc4f57dc0c99efaa Mon Sep 17 00:00:00 2001 From: Danil Alexeev Date: Thu, 4 Feb 2021 18:21:29 +0300 Subject: [PATCH] Fix "editor/editor_help" shortcut overwriting when restarting editor (cherry picked from commit 2105b6a0705c4b1411d7a87f154c890c68910351) --- editor/editor_node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 17257eca262..ad4e1da2861 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -6452,7 +6452,7 @@ EditorNode::EditorNode() { p = help_menu->get_popup(); p->set_hide_on_window_lose_focus(true); p->connect("id_pressed", this, "_menu_option"); - p->add_icon_shortcut(gui_base->get_icon("HelpSearch", "EditorIcons"), ED_SHORTCUT("editor/editor_help", TTR("Search"), KEY_MASK_SHIFT | KEY_F1), HELP_SEARCH); + p->add_icon_shortcut(gui_base->get_icon("HelpSearch", "EditorIcons"), ED_SHORTCUT("editor/editor_help", TTR("Search")), HELP_SEARCH); p->add_separator(); p->add_icon_shortcut(gui_base->get_icon("Instance", "EditorIcons"), ED_SHORTCUT("editor/online_docs", TTR("Online Docs")), HELP_DOCS); p->add_icon_shortcut(gui_base->get_icon("Instance", "EditorIcons"), ED_SHORTCUT("editor/q&a", TTR("Q&A")), HELP_QA);