themes: don't set default theme at all

main
Ilya Zhuravlev 2021-01-11 12:33:12 -05:00
parent 59233595f6
commit dcfbc2fa6c
1 changed files with 2 additions and 3 deletions

View File

@ -55,6 +55,5 @@ def set_theme(theme):
elif theme == "arc": elif theme == "arc":
QApplication.setPalette(arc_palette) QApplication.setPalette(arc_palette)
QApplication.setStyle("Fusion") QApplication.setStyle("Fusion")
else: # For default/system theme, do nothing
QApplication.setPalette(QApplication.style().standardPalette()) # User will have to restart the application for it to be applied
QApplication.setStyle(None)