Fix tabbar updating when changing fg colors.

This commit is contained in:
Florian Bruhin 2014-11-26 21:21:02 +01:00
parent d34aefcfee
commit bdbe284a56

View File

@ -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):