Extend colour label widget to accept two colour states

This commit is contained in:
Veronica Berglyd Olsen committed 2024-06-18 22:41:29 +02:00
1 parent f7d0adad1b
commit 869cdd2fb0
10 files changed
+46 -26

No files matched your search

+1 -1
View File
@@ -215,7 +215,7 @@ class GuiOutlineToolBar(QToolBar):
# Novel Selector
self.novelLabel = NColourLabel(
self.tr("Outline of"), parent=self, scale=NColourLabel.HEADER_SCALE, bold=True
self.tr("Outline of"), self, scale=NColourLabel.HEADER_SCALE, bold=True
)
self.novelLabel.setContentsMargins(0, 0, CONFIG.pxInt(12), 0)