From 671c21dce7a92239b6c15eafd61faa5f65c7adfa Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Sat, 16 Jul 2016 15:16:26 +0200 Subject: [PATCH] MenuButton: Fix regression --- scene/gui/menu_button.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/gui/menu_button.cpp b/scene/gui/menu_button.cpp index 39a8ad04737..d6e084765da 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(); } }