mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
show
This commit is contained in:
parent
daf325f3d9
commit
253faf5ce5
@ -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 = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user