Skip to content

Commit

Permalink
(qt_gui) setFallbackThemeName(original_theme)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh committed Aug 16, 2023
1 parent d9397f1 commit 328bfc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qt_gui/src/qt_gui/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ def _set_theme_if_necessary(self):
# Use Tango if possible, fall back to system default
original_theme = QIcon.themeName()
QIcon.setThemeName('Tango')
QIcon.setFallbackThemeName(original_theme)
if QIcon.fromTheme('document-save').isNull():
QIcon.setThemeName(original_theme)

Expand Down

0 comments on commit 328bfc3

Please sign in to comment.