From 77649c0e7b17eeec113eb84f358438c618b9e66f 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: Thu, 25 Apr 2024 21:56:54 +0800 Subject: [PATCH] Update settingpage1.py --- .../LunaTranslator/gui/settingpage1.py | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/LunaTranslator/LunaTranslator/gui/settingpage1.py b/LunaTranslator/LunaTranslator/gui/settingpage1.py index b4522b7a..ad29e9b7 100644 --- a/LunaTranslator/LunaTranslator/gui/settingpage1.py +++ b/LunaTranslator/LunaTranslator/gui/settingpage1.py @@ -393,19 +393,19 @@ def setTabOne_direct(self): self.tab1grids = [ [("选择文本输入源", 8)], [ - ("剪贴板", 3), + ("HOOK", 3), ( getsimpleswitch( - globalconfig["sourcestatus2"]["copy"], + globalconfig["sourcestatus2"]["texthook"], "use", - name="copy", + name="texthook", parent=self, callback=functools.partial( yuitsu_switch, self, globalconfig["sourcestatus2"], "sourceswitchs", - "copy", + "texthook", gobject.baseobject.starttextsource, ), pair="sourceswitchs", @@ -433,21 +433,19 @@ def setTabOne_direct(self): 1, ), "", - ], - [ - ("HOOK", 3), + ("剪贴板", 3), ( getsimpleswitch( - globalconfig["sourcestatus2"]["texthook"], + globalconfig["sourcestatus2"]["copy"], "use", - name="texthook", + name="copy", parent=self, callback=functools.partial( yuitsu_switch, self, globalconfig["sourcestatus2"], "sourceswitchs", - "texthook", + "copy", gobject.baseobject.starttextsource, ), pair="sourceswitchs",