ExternalKeyboard: Simplify the menu shenanigans

checked_func implies keep_menu_open anyway
This commit is contained in:
NiLuJe
2022-11-01 23:41:14 +01:00
parent 925fd647dc
commit 8e31bc8a68
2 changed files with 9 additions and 4 deletions

View File

@@ -871,7 +871,7 @@ function TouchMenu:onMenuSelect(item, tap_on_checkmark)
if callback then
-- Provide callback with us, so it can call our
-- closemenu() or updateItems() when it sees fit
-- (if not providing checked or checked_fund, caller
-- (if not providing checked or checked_func, caller
-- must set keep_menu_open=true if that is wished)
callback(self)
if refresh then