mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Touchmenu: fix menu refreshing on check (#13996)
This commit is contained in:
@@ -1122,6 +1122,7 @@ See Style tweaks → Miscellaneous → Alternative ToC hints.]])
|
||||
checked_func = function()
|
||||
return self.ui.document:isTocAlternativeToc()
|
||||
end,
|
||||
check_callback_closes_menu = true,
|
||||
callback = function(touchmenu_instance)
|
||||
if self.ui.document:isTocAlternativeToc() then
|
||||
UIManager:show(ConfirmBox:new{
|
||||
|
||||
Reference in New Issue
Block a user