Fix long line
This commit is contained in:
parent
7532db83c4
commit
358c888760
@ -654,7 +654,8 @@ class TabbedBrowser(tabwidget.TabWidget):
|
|||||||
tab.setFocus()
|
tab.setFocus()
|
||||||
if not config.val.tabs.persist_mode_on_change:
|
if not config.val.tabs.persist_mode_on_change:
|
||||||
for mode in [usertypes.KeyMode.hint, usertypes.KeyMode.insert,
|
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)
|
modeman.leave(self._win_id, mode, 'tab changed', maybe=True)
|
||||||
if self._now_focused is not None:
|
if self._now_focused is not None:
|
||||||
objreg.register('last-focused-tab', self._now_focused, update=True,
|
objreg.register('last-focused-tab', self._now_focused, update=True,
|
||||||
|
Loading…
Reference in New Issue
Block a user