Fix "editor/editor_help" shortcut overwriting when restarting editor
(cherry picked from commit 2105b6a070
)
This commit is contained in:
parent
d31ee25882
commit
1749cc4da8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue