summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Sizov <11782833+YuriSizov@users.noreply.github.com>2022-08-19 20:43:17 +0300
committerGitHub <noreply@github.com>2022-08-19 20:43:17 +0300
commitb35ff86c176fef561557f2dd96b597c9c27c4e5e (patch)
tree728fab3eb8e6d0e87276f48223d71b15fa85c0b5
parent469c18152fb70c45202a1281d84d4a2aa7246597 (diff)
parent2040087898b160655198fdbd2f4315a292f2fb84 (diff)
Merge pull request #64612 from bruvzg/fix_shortcuts
Fix MenuBar not processing shortcuts.
-rw-r--r--scene/gui/menu_bar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/menu_bar.cpp b/scene/gui/menu_bar.cpp
index 8f03ddeeab..ebe833c6e0 100644
--- a/scene/gui/menu_bar.cpp
+++ b/scene/gui/menu_bar.cpp
@@ -859,6 +859,7 @@ void MenuBar::get_translatable_strings(List<String> *p_strings) const {
}
MenuBar::MenuBar() {
+ set_process_shortcut_input(true);
}
MenuBar::~MenuBar() {