mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 00:18:39 +00:00
Fix #782 do not ask for tray password when window is not minimized to tray
This commit is contained in:
parent
b88319b4be
commit
139d6538a2
2 changed files with 2 additions and 1 deletions
|
@ -22,6 +22,7 @@
|
||||||
* Fix uploading plugins when the daemon is not localhost
|
* Fix uploading plugins when the daemon is not localhost
|
||||||
* Fix #692 no longer require tray password when quitting from the tray icon
|
* Fix #692 no longer require tray password when quitting from the tray icon
|
||||||
while the window is visible.
|
while the window is visible.
|
||||||
|
* Fix #782 do not ask for tray password when window is not minimized to tray
|
||||||
|
|
||||||
==== Console ====
|
==== Console ====
|
||||||
* Fix using the console in Windows, but only in command-line mode
|
* Fix using the console in Windows, but only in command-line mode
|
||||||
|
|
|
@ -274,7 +274,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():
|
if self.window.active() or self.window.visible():
|
||||||
self.window.hide()
|
self.window.hide()
|
||||||
else:
|
else:
|
||||||
if self.config["lock_tray"]:
|
if self.config["lock_tray"]:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue