Fix incorrect scroll offset after tab pin
This commit is contained in:
parent
11e04c79f4
commit
f6eb8929c3
@ -110,8 +110,6 @@ class TabWidget(QTabWidget):
|
|||||||
tab.data.pinned = pinned
|
tab.data.pinned = pinned
|
||||||
self._update_tab_title(idx)
|
self._update_tab_title(idx)
|
||||||
|
|
||||||
bar.refresh()
|
|
||||||
|
|
||||||
def tab_indicator_color(self, idx):
|
def tab_indicator_color(self, idx):
|
||||||
"""Get the tab indicator color for the given index."""
|
"""Get the tab indicator color for the given index."""
|
||||||
return self.tabBar().tab_indicator_color(idx)
|
return self.tabBar().tab_indicator_color(idx)
|
||||||
|
Loading…
Reference in New Issue
Block a user