Rename fonts.tabbar to fonts.tabs

This commit is contained in:
Florian Bruhin 2017-06-26 16:53:40 +02:00
parent e7ba56cb2c
commit cbf6e4287f
2 changed files with 3 additions and 3 deletions

View File

@ -1710,7 +1710,7 @@ fonts.statusbar:
type: Font
desc: Font used in the statusbar.
fonts.tabbar:
fonts.tabs:
default: 8pt monospace
type: QtFont
desc: Font used in the tab bar.

View File

@ -324,7 +324,7 @@ class TabBar(QTabBar):
@pyqtSlot(str)
def _on_config_changed(self, option):
if option == 'fonts.tabbar':
if option == 'fonts.tabs':
self._set_font()
elif option == 'tabs.favicons.scale':
self._set_icon_size()
@ -409,7 +409,7 @@ class TabBar(QTabBar):
def _set_font(self):
"""Set the tab bar font."""
self.setFont(config.val.fonts.tabbar)
self.setFont(config.val.fonts.tabs)
self._set_icon_size()
def _set_icon_size(self):