Improve performance when scrolling with many tabs.

Closes #1278.
This commit is contained in:
Jimmy 2016-02-02 07:31:14 +01:00 committed by Florian Bruhin
parent 8166a4a76d
commit 42160335dc
2 changed files with 2 additions and 1 deletions

View File

@ -33,6 +33,7 @@ Changed
- Pasting multiple lines via `:paste` now opens each line in a new tab.
- `:navigate increment/decrement` now preserves leading zeroes in URLs.
- `general -> editor` can now also handle `{}` inside another argument (e.g. to open `vim` via `termite`)
- Improved performance when scrolling with many tabs open.
Fixed
~~~~~

View File

@ -613,7 +613,7 @@ class TabbedBrowser(tabwidget.TabWidget):
def on_scroll_pos_changed(self):
"""Update tab and window title when scroll position changed."""
self.update_window_title()
self.update_tab_titles()
self.update_tab_title(self.currentIndex())
def resizeEvent(self, e):
"""Extend resizeEvent of QWidget to emit a resized signal afterwards.