Fix issue where hosts will show up erroneously as Offline

This commit is contained in:
Andrew Resch 2009-12-13 21:46:55 +00:00
commit 9878fced37
2 changed files with 2 additions and 1 deletions

View file

@ -24,6 +24,7 @@
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 * Fix #782 do not ask for tray password when window is not minimized to tray
* Fix #1036 autoconnecting to localhost daemon on start-up * Fix #1036 autoconnecting to localhost daemon on start-up
* Fix issue where hosts will show up erroneously as Offline
==== 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

View file

@ -283,7 +283,7 @@ class ConnectionManager(component.Component):
d.addCallback(on_info, c) d.addCallback(on_info, c)
d.addErrback(on_info_fail, c) d.addErrback(on_info_fail, c)
def on_connect_failed(reason, host_info): def on_connect_failed(reason, host_id):
if not self.running: if not self.running:
return return
row = self.__get_host_row(host_id) row = self.__get_host_row(host_id)