From d20169af88df8d288f652ec71c7c47340f368341 Mon Sep 17 00:00:00 2001 From: hius07 <62179190+hius07@users.noreply.github.com> Date: Fri, 27 Jun 2025 14:01:08 +0300 Subject: [PATCH] dispatcher: on check refresh --- frontend/dispatcher.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/dispatcher.lua b/frontend/dispatcher.lua index 760d09740..7b24bc7f3 100644 --- a/frontend/dispatcher.lua +++ b/frontend/dispatcher.lua @@ -995,11 +995,10 @@ function Dispatcher:addSubMenu(caller, menu, location, settings) menu.ignored_by_menu_search = true -- all those would be duplicated table.insert(menu, { text = _("Nothing"), - keep_menu_open = true, - no_refresh_on_check = true, checked_func = function() return location[settings] ~= nil and Dispatcher:_itemsCount(location[settings]) == 0 end, + on_check_updated_in_callback = true, callback = function(touchmenu_instance) local function do_remove() local actions = location[settings]