From dcfbc2fa6cbed9c5971a9b2273337335b3bf31b8 Mon Sep 17 00:00:00 2001 From: Ilya Zhuravlev Date: Mon, 11 Jan 2021 12:33:12 -0500 Subject: [PATCH] themes: don't set default theme at all --- src/main/python/themes.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/python/themes.py b/src/main/python/themes.py index c678f07..0dce972 100644 --- a/src/main/python/themes.py +++ b/src/main/python/themes.py @@ -55,6 +55,5 @@ def set_theme(theme): elif theme == "arc": QApplication.setPalette(arc_palette) QApplication.setStyle("Fusion") - else: - QApplication.setPalette(QApplication.style().standardPalette()) - QApplication.setStyle(None) + # For default/system theme, do nothing + # User will have to restart the application for it to be applied