Use white menubar on Windows in lightmode (#1590)

This commit is contained in:
RumovZ 2022-01-16 04:45:16 +01:00 committed by GitHub
parent e3bfc86f50
commit 0e21c49f58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -193,7 +193,7 @@ class ThemeManager:
buf += f""" buf += f"""
QMenuBar {{ QMenuBar {{
border-bottom: 1px solid {self.color(colors.BORDER)}; 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 # qt bug? setting the above changes the browser sidebar