mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
show
This commit is contained in:
parent
daf325f3d9
commit
253faf5ce5
@ -222,13 +222,15 @@ class QUnFrameWindow(resizableframeless):
|
|||||||
|
|
||||||
if flag:
|
if flag:
|
||||||
self.show_()
|
self.show_()
|
||||||
|
self.enterfunction()
|
||||||
else:
|
else:
|
||||||
self.hide_()
|
self.hide_()
|
||||||
|
|
||||||
def leftclicktray(self, reason):
|
def leftclicktray(self, reason):
|
||||||
# 鼠标左键点击
|
# 鼠标左键点击
|
||||||
if reason == QSystemTrayIcon.Trigger:
|
if reason == QSystemTrayIcon.Trigger:
|
||||||
self.showhideui()
|
self.show_()
|
||||||
|
self.enterfunction()
|
||||||
|
|
||||||
def refreshtoolicon(self):
|
def refreshtoolicon(self):
|
||||||
iconstate = {
|
iconstate = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user