mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-24 10:18:51 +00:00
Fix #782 do not ask for tray password when window is not minimized to tray
This commit is contained in:
parent
7e0d09a7bc
commit
f3f3b3669f
@ -274,7 +274,7 @@ class SystemTray(component.Component):
|
||||
"""Called when the tray icon is left clicked."""
|
||||
self.blink(False)
|
||||
|
||||
if self.window.active():
|
||||
if self.window.active() or self.window.visible():
|
||||
self.window.hide()
|
||||
else:
|
||||
if self.config["lock_tray"]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user