From c95fa10b888d9ce9b1e87b3cb3cc4106618f940a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Sat, 6 Apr 2024 01:20:40 +0800 Subject: [PATCH] Update settin.py --- LunaTranslator/LunaTranslator/gui/settin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LunaTranslator/LunaTranslator/gui/settin.py b/LunaTranslator/LunaTranslator/gui/settin.py index fb0eb35b..cc0fbb43 100644 --- a/LunaTranslator/LunaTranslator/gui/settin.py +++ b/LunaTranslator/LunaTranslator/gui/settin.py @@ -239,9 +239,9 @@ class Settin(closeashidewindow): while True: # 会触发两次 windows.WaitForSingleObject(sema, windows.INFINITE) - windows.WaitForSingleObject(sema, windows.INFINITE) if globalconfig["darklight"] == 2: self.setstylesheetsignal.emit() + windows.WaitForSingleObject(sema, windows.INFINITE) def setstylesheet(self):