Fix getting reverse bindings

This commit is contained in:
Florian Bruhin 2017-12-29 01:10:25 +01:00
parent b1dde41b74
commit 21b3e05ed0

View File

@ -165,7 +165,7 @@ class KeyConfig:
# if utils.is_special_key(key):
# cmd_to_keys[cmd].append(key)
# else:
cmd_to_keys[cmd].insert(0, key.toString())
cmd_to_keys[cmd].insert(0, str(key))
return cmd_to_keys
def get_command(self, key, mode, default=False):