mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
Update settin.py
This commit is contained in:
parent
5dcec35687
commit
17a5a4ad9a
@ -252,6 +252,8 @@ class Settin(closeashidewindow):
|
|||||||
dark = True
|
dark = True
|
||||||
elif dl == 2:
|
elif dl == 2:
|
||||||
dark = darkdetect.isDark()
|
dark = darkdetect.isDark()
|
||||||
|
if dark is None:
|
||||||
|
dark = False
|
||||||
darklight = ["light", "dark"][dark]
|
darklight = ["light", "dark"][dark]
|
||||||
|
|
||||||
class WindowEventFilter(QObject):
|
class WindowEventFilter(QObject):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user