Fix capital chars after string change
This commit is contained in:
parent
508a12a84c
commit
0afaf2ce89
@ -125,7 +125,7 @@ class BaseKeyParser(QObject):
|
|||||||
txt = keyutils.keyevent_to_string(e)
|
txt = keyutils.keyevent_to_string(e)
|
||||||
self._debug_log("Got key: 0x{:x} / text: '{}'".format(key, txt))
|
self._debug_log("Got key: 0x{:x} / text: '{}'".format(key, txt))
|
||||||
|
|
||||||
if txt is None:
|
if not txt:
|
||||||
self._debug_log("Ignoring, no text char")
|
self._debug_log("Ignoring, no text char")
|
||||||
return QKeySequence.NoMatch
|
return QKeySequence.NoMatch
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user