Remove redundant .replace() in utils.misc.key_to_string.
This commit is contained in:
parent
ffe2c7f91d
commit
ed4e3e2a75
@ -413,7 +413,7 @@ def key_to_string(key):
|
||||
try:
|
||||
return special_names[key]
|
||||
except KeyError:
|
||||
name = QKeySequence(key).toString().replace("Backtab", "Tab")
|
||||
name = QKeySequence(key).toString()
|
||||
morphings = {
|
||||
'Backtab': 'Tab',
|
||||
'Esc': 'Escape',
|
||||
|
Loading…
Reference in New Issue
Block a user