and again

This commit is contained in:
Alexey Nabrodov 2015-09-29 12:19:47 +03:00
parent a98878dd8a
commit 75d53e2879
2 changed files with 3 additions and 2 deletions

View File

@ -299,7 +299,8 @@ def data(readonly=False):
('window-title-format',
SettingValue(typ.FormatString(fields=['perc', 'perc_raw', 'title',
'title_sep', 'id', 'scroll_pos']),
'title_sep', 'id',
'scroll_pos']),
'{perc}{title}{title_sep}qutebrowser'),
"The format to use for the window title. The following "
"placeholders are defined:\n\n"

View File

@ -588,7 +588,7 @@ class TabbedBrowser(tabwidget.TabWidget):
self.update_window_title()
@pyqtSlot()
def on_scroll_pos_changed(self, *args):
def on_scroll_pos_changed(self):
"""Update tab and window title when scroll position changed."""
self.update_window_title()
self.update_tab_titles()