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