From 3dd1cb295bbc459bdc3b5b48a8b5969ff42b4b61 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: Fri, 21 Jun 2024 20:27:34 +0800 Subject: [PATCH] color --- LunaTranslator/LunaTranslator/gui/translatorUI.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LunaTranslator/LunaTranslator/gui/translatorUI.py b/LunaTranslator/LunaTranslator/gui/translatorUI.py index 1c357abe..bae1e6e9 100644 --- a/LunaTranslator/LunaTranslator/gui/translatorUI.py +++ b/LunaTranslator/LunaTranslator/gui/translatorUI.py @@ -253,9 +253,9 @@ class QUnFrameWindow(resizableframeless): for name in self.buttons: if name in colorstate: color = ( - globalconfig["buttoncolor_1"] + globalconfig["buttoncolor"] if colorstate[name] - else globalconfig["buttoncolor"] + else globalconfig["buttoncolor_1"] ) else: color = globalconfig["buttoncolor"]