Fix incorrect scroll offset after tab pin

This commit is contained in:
Jay Kamat 2018-02-11 00:19:08 -05:00
parent 11e04c79f4
commit f6eb8929c3
No known key found for this signature in database
GPG Key ID: 5D2E399600F4F7B5

View File

@ -110,8 +110,6 @@ class TabWidget(QTabWidget):
tab.data.pinned = pinned
self._update_tab_title(idx)
bar.refresh()
def tab_indicator_color(self, idx):
"""Get the tab indicator color for the given index."""
return self.tabBar().tab_indicator_color(idx)