Add updateTheme functions to most GUI components

This commit is contained in:
Veronica Berglyd Olsen
2022-10-25 23:12:21 +02:00
parent e1ecd3cd27
commit 52ede26f3d
7 changed files with 251 additions and 118 deletions
+8 -1
View File
@@ -907,8 +907,15 @@ class GuiMain(QMainWindow):
if dlgConf.result() == QDialog.Accepted:
logger.debug("Applying new preferences")
self.initMain()
self.mainTheme.updateTheme()
self.saveDocument()
self.mainTheme.updateTheme()
self.viewsBar.updateTheme()
self.projView.updateTheme()
self.novelView.updateTheme()
self.docEditor.updateTheme()
self.docViewer.updateTheme()
self.docEditor.initEditor()
self.docViewer.initViewer()
self.projView.initSettings()