1
0

qt: follow-up changing light/dark theme at runtime

follow-up 11a04c0d72
This commit is contained in:
SomberNight
2022-02-18 21:54:31 +01:00
parent 2f549e84db
commit 31b3673461

View File

@@ -963,8 +963,7 @@ class ColorScheme:
@staticmethod
def update_from_widget(widget, force_dark=False):
if force_dark or ColorScheme.has_dark_background(widget):
ColorScheme.dark_scheme = True
ColorScheme.dark_scheme = bool(force_dark or ColorScheme.has_dark_background(widget))
class AcceptFileDragDrop: