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