Gesture manager and Profiles: improve Dispatcher actions menu (#13078)

This commit is contained in:
hius07
2025-01-26 11:10:49 +02:00
committed by GitHub
parent 9eeb23104f
commit 9bcd09633c
5 changed files with 181 additions and 154 deletions

View File

@@ -921,7 +921,9 @@ function TouchMenu:onMenuSelect(item, tap_on_checkmark)
-- must set keep_menu_open=true if that is wished)
callback(self)
if refresh then
self:updateItems()
if not item.no_refresh_on_check then
self:updateItems()
end
elseif not item.keep_menu_open then
self:closeMenu()
end