From 253faf5ce51502b55d3678052be5bfc500a4114f 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: Wed, 19 Jun 2024 09:46:52 +0800 Subject: [PATCH] show --- LunaTranslator/LunaTranslator/gui/translatorUI.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 = {