parent
1a94cb551c
commit
bf0fe3c43b
@ -282,6 +282,9 @@ class ModeManager(QObject):
|
|||||||
raise NotInModeError("Not in mode {}!".format(mode))
|
raise NotInModeError("Not in mode {}!".format(mode))
|
||||||
log.modes.debug("Leaving mode {}{}".format(
|
log.modes.debug("Leaving mode {}{}".format(
|
||||||
mode, '' if reason is None else ' (reason: {})'.format(reason)))
|
mode, '' if reason is None else ' (reason: {})'.format(reason)))
|
||||||
|
# leaving a mode implies clearing keychain, see
|
||||||
|
# https://github.com/The-Compiler/qutebrowser/issues/1805
|
||||||
|
self.clear_keychain()
|
||||||
self.mode = usertypes.KeyMode.normal
|
self.mode = usertypes.KeyMode.normal
|
||||||
self.left.emit(mode, self.mode, self._win_id)
|
self.left.emit(mode, self.mode, self._win_id)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user