Return False when MarkKeyParser gets special key.
This commit is contained in:
parent
6466ff919a
commit
268d490e25
@ -256,7 +256,7 @@ class MarkKeyParser(keyparser.BaseKeyParser):
|
|||||||
"""
|
"""
|
||||||
if utils.keyevent_to_string(e) is None:
|
if utils.keyevent_to_string(e) is None:
|
||||||
# this is a modifier key, let it pass and keep going
|
# this is a modifier key, let it pass and keep going
|
||||||
return True
|
return False
|
||||||
|
|
||||||
key = e.text()
|
key = e.text()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user