mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue