Rename fonts.tabbar to fonts.tabs
This commit is contained in:
parent
e7ba56cb2c
commit
cbf6e4287f
@ -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.
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user