Fix tabbar updating when changing fg colors.
This commit is contained in:
parent
d34aefcfee
commit
bdbe284a56
@ -142,7 +142,7 @@ class TabBar(QTabBar):
|
|||||||
@pyqtSlot(str, str)
|
@pyqtSlot(str, str)
|
||||||
def on_tab_colors_changed(self, section, option):
|
def on_tab_colors_changed(self, section, option):
|
||||||
"""Set the tab colors."""
|
"""Set the tab colors."""
|
||||||
if section == 'colors' and option.startswith('tabs.fg.'):
|
if section == 'colors' and option.startswith('tabs.'):
|
||||||
self.update()
|
self.update()
|
||||||
|
|
||||||
def mousePressEvent(self, e):
|
def mousePressEvent(self, e):
|
||||||
|
Loading…
Reference in New Issue
Block a user