Fix #1145 show deluge instead of hiding if it is behind other windows
This commit is contained in:
parent
387ea4a911
commit
e9a922f829
@ -273,7 +273,7 @@ class SystemTray(component.Component):
|
|||||||
"""Called when the tray icon is left clicked."""
|
"""Called when the tray icon is left clicked."""
|
||||||
self.blink(False)
|
self.blink(False)
|
||||||
|
|
||||||
if self.window.active() or self.window.visible():
|
if self.window.active():
|
||||||
self.window.hide()
|
self.window.hide()
|
||||||
else:
|
else:
|
||||||
if self.config["lock_tray"]:
|
if self.config["lock_tray"]:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user