mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
MenuButton: Fix regression
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user