Simplify the themes class a bit

This commit is contained in:
Veronica Berglyd Olsen
2022-10-27 23:47:29 +02:00
parent c7999831c9
commit 34193021e8
2 changed files with 105 additions and 132 deletions
+2 -2
View File
@@ -918,7 +918,7 @@ class GuiMain(QMainWindow):
self.projView.populateTree()
if dlgConf.updateTheme:
self.mainTheme.updateTheme()
self.mainTheme.loadTheme()
self.docEditor.updateTheme()
self.docViewer.updateTheme()
self.viewsBar.updateTheme()
@@ -929,7 +929,7 @@ class GuiMain(QMainWindow):
self.mainStatus.updateTheme()
if dlgConf.updateSyntax:
self.mainTheme.updateSyntax()
self.mainTheme.loadSyntax()
self.docEditor.updateSyntaxColours()
self.docEditor.initEditor()