Stop and disconnect input.partial_timeout
This commit is contained in:
parent
aa2eb2c36e
commit
07b77dd682
|
|
@ -393,3 +393,9 @@ class BaseKeyParser(QObject):
|
|||
self._sequence = keyutils.KeySequence()
|
||||
self._count = ''
|
||||
self.keystring_updated.emit('')
|
||||
self._partial_timer.stop()
|
||||
try:
|
||||
self._partial_timer.timeout.disconnect(self.clear_partial_match)
|
||||
except TypeError:
|
||||
# no connections
|
||||
pass
|
||||
|
|
|
|||
|
|
@ -127,16 +127,6 @@ class NormalKeyParser(CommandKeyParser):
|
|||
self._debug_log("Releasing inhibition state of normal mode.")
|
||||
self._inhibited = False
|
||||
|
||||
@pyqtSlot()
|
||||
def _stop_timers(self):
|
||||
super()._stop_timers()
|
||||
self._inhibited_timer.stop()
|
||||
try:
|
||||
self._inhibited_timer.timeout.disconnect(self._clear_inhibited)
|
||||
except TypeError:
|
||||
# no connections
|
||||
pass
|
||||
|
||||
|
||||
class PassthroughKeyParser(CommandKeyParser):
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue