diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-02-04 16:56:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-04 16:56:21 +0100 |
commit | a405a249a60fc6b88b0c2880d85dc6dc9c1d3e10 (patch) | |
tree | b64819dca1c2033eee6d9dc4b2420ce69fb84e65 | |
parent | 7e14a276da1ab8e7dda4f4f5041056edc1910c25 (diff) | |
parent | 2105b6a0705c4b1411d7a87f154c890c68910351 (diff) |
Merge pull request #45708 from dalexeev/fix-help-shortcut
Fix "editor/editor_help" shortcut overwriting when restarting editor
-rw-r--r-- | editor/editor_node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 040f1b1640..208f4b954a 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -6265,7 +6265,7 @@ EditorNode::EditorNode() { p = help_menu->get_popup(); p->connect("id_pressed", callable_mp(this, &EditorNode::_menu_option)); - p->add_icon_shortcut(gui_base->get_theme_icon("HelpSearch", "EditorIcons"), ED_SHORTCUT("editor/editor_help", TTR("Search"), KEY_MASK_SHIFT | KEY_F1), HELP_SEARCH); + p->add_icon_shortcut(gui_base->get_theme_icon("HelpSearch", "EditorIcons"), ED_SHORTCUT("editor/editor_help", TTR("Search")), HELP_SEARCH); p->add_separator(); p->add_icon_shortcut(gui_base->get_theme_icon("Instance", "EditorIcons"), ED_SHORTCUT("editor/online_docs", TTR("Online Docs")), HELP_DOCS); p->add_icon_shortcut(gui_base->get_theme_icon("Instance", "EditorIcons"), ED_SHORTCUT("editor/q&a", TTR("Q&A")), HELP_QA); |