mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
ExternalKeyboard: Simplify the menu shenanigans
checked_func implies keep_menu_open anyway
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user