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, }