Browse Source

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

follow-up 11a04c0d72
patch-4
SomberNight 3 years ago
parent
commit
31b3673461
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 3
      electrum/gui/qt/util.py

3
electrum/gui/qt/util.py

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

Loading…
Cancel
Save