Merge pull request #5735 from neikeq/menu-accept-event-fix
MenuButton: Fix regression
This commit is contained in:
commit
6a5e11c075
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue