diff options
| author | 2026-01-05 01:47:32 +1100 | |
|---|---|---|
| committer | 2026-01-05 01:47:32 +1100 | |
| commit | 9a2327ab917b8e9e3a4a53219165e94bcf6125c9 (patch) | |
| tree | 9cd92f68a257d88cc47213edff46932a41cbc769 /plugins | |
| parent | ab83d06f56097333469af05a547855ded093b1cb (diff) | |
plugins/commonui: Fixed Cancel not working in input selection menus.
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/commonui/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/commonui/init.lua b/plugins/commonui/init.lua index 5219e7dbb9e..2780ade3e1b 100644 --- a/plugins/commonui/init.lua +++ b/plugins/commonui/init.lua @@ -106,7 +106,7 @@ function commonui.input_selection_menu(action, title, filter) function menu:handle(index, event) local selection - if (event == 'back') or ((index == input_item_cancel) and (event == 'select')) then + if (event == 'back') or ((index == index_cancel) and (event == 'select')) then action(nil) return true elseif event == 'select' then |
