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)
def on_tab_colors_changed(self, section, option):
"""Set the tab colors."""
if section == 'colors' and option.startswith('tabs.fg.'):
if section == 'colors' and option.startswith('tabs.'):
self.update()
def mousePressEvent(self, e):