Touchmenu: fix menu refreshing on check (#13996)

This commit is contained in:
hius07
2025-07-01 21:43:51 +03:00
committed by GitHub
parent 7d89cb2ed4
commit 29bbc84de2
13 changed files with 27 additions and 19 deletions

View File

@@ -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{