Skip to content

Commit

Permalink
Manually trigger PaletteChange (#423)
Browse files Browse the repository at this point in the history
* Manually trigger `PaletteChange`

* Remove unused import
  • Loading branch information
cbrnr authored May 10, 2024
1 parent 4b65c81 commit cfedaf1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mnelab/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ def __init__(self, model: Model):
[f"{Path(__file__).parent}/icons"] + QIcon.themeSearchPaths()
)
QIcon.setFallbackThemeName("light")
QApplication.sendEvent(self, QEvent(QEvent.PaletteChange))

self.actions = {} # contains all actions

Expand Down

0 comments on commit cfedaf1

Please sign in to comment.