make enter key toggle Option Search mode too

This commit is contained in:
Alexander Kromm 2020-01-16 23:14:42 +07:00 committed by Christoph Oelckers
parent 7973ab9c6b
commit 1f011cda7f

View file

@ -21,7 +21,7 @@ class os_AnyOrAllOption : OptionMenuItemOption
{
bool result = Super.MenuEvent(mkey, fromcontroller);
if (mKey == Menu.MKEY_Left || mKey == Menu.MKEY_Right)
if (mKey == Menu.MKEY_Left || mKey == Menu.MKEY_Right || mkey == Menu.MKEY_Enter)
{
mMenu.search();
}