Fix bug where it wouldn't work with uppercase
This commit is contained in:
parent
3a9990f8b0
commit
f147c600e5
|
@ -156,7 +156,7 @@ local function launch(args)
|
|||
|
||||
local all_keys = onlogout_key .. onlock_key .. onreboot_key .. onsuspend_key .. onpoweroff_key
|
||||
|
||||
if key == 'Escape' or string.match(all_keys, key) then
|
||||
if key == 'Escape' or string.match(string.lower(all_keys), string.lower(key)) then
|
||||
phrase_widget:set_text('')
|
||||
capi.keygrabber.stop()
|
||||
w.visible = false
|
||||
|
|
Loading…
Reference in New Issue