Fix crash in string representation of key
This commit is contained in:
parent
d6463d5ade
commit
a5dc8a3025
@ -300,6 +300,7 @@ class KeyInfo:
|
||||
return key_string.lower()
|
||||
elif self.modifiers == Qt.KeypadModifier:
|
||||
assert not is_special(self.key, self.modifiers)
|
||||
return key_string.lower()
|
||||
else:
|
||||
# Use special binding syntax, but <Ctrl-a> instead of <Ctrl-A>
|
||||
key_string = key_string.lower()
|
||||
|
Loading…
Reference in New Issue
Block a user