Add methods to refresh status icons on theme change

This commit is contained in:
Veronica Berglyd Olsen
2025-06-12 17:59:38 +02:00
parent 2e0ee9b75f
commit ff85c6688f
3 changed files with 25 additions and 8 deletions
+1
View File
@@ -913,6 +913,7 @@ class GuiMain(QMainWindow):
def refreshThemeColors(self, syntax: bool = False, force: bool = False) -> None:
"""Refresh the GUI theme."""
SHARED.theme.loadTheme(force=force)
SHARED.project.updateTheme()
self.setPalette(QApplication.palette())
self.docEditor.updateTheme()
self.docViewer.updateTheme()