Merge branch 'patch-2' of https://github.com/averrin/qutebrowser into averrin-patch-2

This commit is contained in:
Florian Bruhin 2015-09-16 22:32:21 +02:00
commit 503e3ce48d

View File

@ -517,7 +517,7 @@ class TabbedBrowser(tabwidget.TabWidget):
log.modes.debug("Current tab changed, focusing {!r}".format(tab))
tab.setFocus()
for mode in (usertypes.KeyMode.hint, usertypes.KeyMode.insert,
usertypes.KeyMode.caret):
usertypes.KeyMode.caret, usertypes.KeyMode.passthrough):
modeman.maybe_leave(self._win_id, mode, 'tab changed')
if self._now_focused is not None:
objreg.register('last-focused-tab', self._now_focused, update=True,