Remove redundant .replace() in utils.misc.key_to_string.

This commit is contained in:
Florian Bruhin 2014-07-30 18:55:34 +02:00
parent ffe2c7f91d
commit ed4e3e2a75

View File

@ -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',