Made _handle_auto_insert_mode public

This commit is contained in:
Penaz91 2017-09-20 15:52:07 +02:00
parent 7f03b0d0d5
commit 6132a3d7ca
2 changed files with 2 additions and 2 deletions

View File

@ -716,7 +716,7 @@ class AbstractTab(QWidget):
self._set_load_status(usertypes.LoadStatus.loading)
self.load_started.emit()
def _handle_auto_insert_mode(self, ok):
def handle_auto_insert_mode(self, ok):
"""Handle `input.insert_mode.auto_load` after loading finished."""
if not config.val.input.insert_mode.auto_load or not ok:
return

View File

@ -689,7 +689,7 @@ class TabbedBrowser(tabwidget.TabWidget):
self._update_tab_title(idx)
if idx == self.currentIndex():
self._update_window_title()
tab._handle_auto_insert_mode(ok)
tab.handle_auto_insert_mode(ok)
@pyqtSlot()
def on_scroll_pos_changed(self):