Fix --debug-config failing when native keys present
This commit is contained in:
parent
9805d164d0
commit
05227e7dfb
@ -629,6 +629,9 @@ def print_shortcut(key_sequence, action):
|
||||
if mods & val:
|
||||
names.append(name)
|
||||
if key:
|
||||
if is_native:
|
||||
names.append('<native key 0x{:x}>'.format(key))
|
||||
else:
|
||||
names.append(krmap[key])
|
||||
keys.append('+'.join(names))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user