From 0e21c49f58167b48b82cb1cf5d5298641dbab687 Mon Sep 17 00:00:00 2001 From: RumovZ Date: Sun, 16 Jan 2022 04:45:16 +0100 Subject: [PATCH] Use white menubar on Windows in lightmode (#1590) --- qt/aqt/theme.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/aqt/theme.py b/qt/aqt/theme.py index 465c9ce05..483b4dcfe 100644 --- a/qt/aqt/theme.py +++ b/qt/aqt/theme.py @@ -193,7 +193,7 @@ class ThemeManager: buf += f""" QMenuBar {{ border-bottom: 1px solid {self.color(colors.BORDER)}; - background: {self.color(colors.WINDOW_BG)}; + background: {self.color(colors.WINDOW_BG) if self.night_mode else "white"}; }} """ # qt bug? setting the above changes the browser sidebar