summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-08-19 16:49:50 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-08-19 16:49:50 +0300
commit2040087898b160655198fdbd2f4315a292f2fb84 (patch)
treee65dbad314902be51aa89b5b2ae13cfd82f486c3 /scene/gui
parent35cfaafda8073f700c9d2fe42a43d3d81eaaea67 (diff)
Fix MenuBar not processing shortcuts.
Diffstat (limited to 'scene/gui')
-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() {