mirror of
https://github.com/godotengine/godot.git
synced 2025-04-25 01:48:08 +08:00
Merge pull request #5735 from neikeq/menu-accept-event-fix
MenuButton: Fix regression
This commit is contained in:
commit
6a5e11c075
@ -39,7 +39,7 @@ void MenuButton::_unhandled_key_input(InputEvent p_event) {
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
||||||
if (popup->activate_item_by_accelerator(code))
|
if (popup->activate_item_by_event(p_event))
|
||||||
accept_event();
|
accept_event();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user