mirror of
https://github.com/godotengine/godot.git
synced 2025-01-22 18:01:09 +00:00
MenuButton: Fix regression
This commit is contained in:
parent
f9d1e03018
commit
671c21dce7
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user