Fix getting reverse bindings
This commit is contained in:
parent
b1dde41b74
commit
21b3e05ed0
@ -165,7 +165,7 @@ class KeyConfig:
|
|||||||
# if utils.is_special_key(key):
|
# if utils.is_special_key(key):
|
||||||
# cmd_to_keys[cmd].append(key)
|
# cmd_to_keys[cmd].append(key)
|
||||||
# else:
|
# else:
|
||||||
cmd_to_keys[cmd].insert(0, key.toString())
|
cmd_to_keys[cmd].insert(0, str(key))
|
||||||
return cmd_to_keys
|
return cmd_to_keys
|
||||||
|
|
||||||
def get_command(self, key, mode, default=False):
|
def get_command(self, key, mode, default=False):
|
||||||
|
Loading…
Reference in New Issue
Block a user