Fix matching
This commit is contained in:
parent
a8aaf01ff0
commit
55803afbd2
@ -237,7 +237,7 @@ class BaseKeyParser(QObject):
|
|||||||
return (None, None)
|
return (None, None)
|
||||||
|
|
||||||
for seq, cmd in self.bindings.items():
|
for seq, cmd in self.bindings.items():
|
||||||
match = seq.matches(cmd_input)
|
match = cmd_input.matches(seq)
|
||||||
if match != QKeySequence.NoMatch:
|
if match != QKeySequence.NoMatch:
|
||||||
return (match, cmd)
|
return (match, cmd)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user