mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-18 22:36:51 +00:00
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."""
|
||||
self.blink(False)
|
||||
|
||||
if self.window.active() or self.window.visible():
|
||||
if self.window.active():
|
||||
self.window.hide()
|
||||
else:
|
||||
if self.config["lock_tray"]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user