diff --git a/LunaTranslator/LunaTranslator/gui/translatorUI.py b/LunaTranslator/LunaTranslator/gui/translatorUI.py index 7fcc9b0a..230b3715 100644 --- a/LunaTranslator/LunaTranslator/gui/translatorUI.py +++ b/LunaTranslator/LunaTranslator/gui/translatorUI.py @@ -222,13 +222,15 @@ class QUnFrameWindow(resizableframeless): if flag: self.show_() + self.enterfunction() else: self.hide_() def leftclicktray(self, reason): # 鼠标左键点击 if reason == QSystemTrayIcon.Trigger: - self.showhideui() + self.show_() + self.enterfunction() def refreshtoolicon(self): iconstate = {