Fix long line

This commit is contained in:
Vladimir Shulyak 2017-11-21 22:35:19 +00:00
parent 7532db83c4
commit 358c888760

View File

@ -654,7 +654,8 @@ class TabbedBrowser(tabwidget.TabWidget):
tab.setFocus()
if not config.val.tabs.persist_mode_on_change:
for mode in [usertypes.KeyMode.hint, usertypes.KeyMode.insert,
usertypes.KeyMode.caret, usertypes.KeyMode.passthrough]:
usertypes.KeyMode.caret,
usertypes.KeyMode.passthrough]:
modeman.leave(self._win_id, mode, 'tab changed', maybe=True)
if self._now_focused is not None:
objreg.register('last-focused-tab', self._now_focused, update=True,