Add methods to refresh status icons on theme change
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user