Fix #1145 show deluge instead of hiding if it is behind other windows

This commit is contained in:
Andrew Resch 2010-03-31 11:47:54 -07:00
parent 387ea4a911
commit e9a922f829

View File

@ -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"]: