From 087ceabbab6d1b015cfcbd0fe3048d7dbf46ca8d 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, 26 Apr 2024 21:42:54 +0800 Subject: [PATCH] Update settingpage_quick.py --- LunaTranslator/LunaTranslator/gui/settingpage_quick.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/LunaTranslator/LunaTranslator/gui/settingpage_quick.py b/LunaTranslator/LunaTranslator/gui/settingpage_quick.py index cfa93024..01b793c0 100644 --- a/LunaTranslator/LunaTranslator/gui/settingpage_quick.py +++ b/LunaTranslator/LunaTranslator/gui/settingpage_quick.py @@ -41,11 +41,11 @@ def setTab_quick_direct(self): "_21": lambda: grabwindow(), "_22": gobject.baseobject.translation_ui.muteprocessignal.emit, "_23": lambda: gobject.baseobject.translation_ui.clickRange_signal.emit(True), - # 暂时有问题 - # "_25": lambda: windows.SendMessage( - # windows.FindWindow("WNDCLS_Magpie_Core_CLI_Message", None), - # windows.RegisterWindowMessage("Magpie_Core_CLI_Message_ToggleOverlay"), - # ), + + "_25": lambda: windows.SendMessage( + windows.FindWindow("WNDCLS_Magpie_Core_CLI_Message", None), + windows.RegisterWindowMessage("Magpie_Core_CLI_Message_ToggleOverlay"), + ), "_26": gobject.baseobject.translation_ui.ocr_once_signal.emit, "_27": gobject.baseobject.translation_ui.simulate_key_enter, }