mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Dispatcher: update action name or value (#13831)
This commit is contained in:
@@ -1955,6 +1955,8 @@ function ReaderFooter:genPresetMenuItemTable()
|
||||
choice1_text = _("Delete"),
|
||||
choice1_callback = function()
|
||||
footer_presets[preset_name] = nil
|
||||
UIManager:broadcastEvent(Event:new("DispatcherActionValueChanged",
|
||||
{ name = "load_footer_preset", old_value = preset_name, new_value = nil }))
|
||||
touchmenu_instance.item_table = self:genPresetMenuItemTable()
|
||||
touchmenu_instance:updateItems()
|
||||
end,
|
||||
|
||||
Reference in New Issue
Block a user