summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2016-07-16 15:16:26 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2016-07-16 15:16:26 +0200
commit671c21dce7a92239b6c15eafd61faa5f65c7adfa (patch)
treed7121ec06bf944b91a86871525f0f1ae321933c4 /scene/gui
parentf9d1e03018bc9fa7d32fd99cb21d5bf58140c265 (diff)
MenuButton: Fix regression
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/menu_button.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/menu_button.cpp b/scene/gui/menu_button.cpp
index 39a8ad0473..d6e084765d 100644
--- a/scene/gui/menu_button.cpp
+++ b/scene/gui/menu_button.cpp
@@ -39,7 +39,7 @@ void MenuButton::_unhandled_key_input(InputEvent p_event) {
return;
- if (popup->activate_item_by_accelerator(code))
+ if (popup->activate_item_by_event(p_event))
accept_event();
}
}