Stop on connection failed

This commit is contained in:
Etoh 2014-03-06 19:52:23 +00:00 committed by Uriziel
parent f8f22619ac
commit 2afa2b39b3

View File

@ -42,7 +42,7 @@ class SyncClientFactory(ClientFactory):
def clientConnectionFailed(self, connector, reason): def clientConnectionFailed(self, connector, reason):
if not self.reconnecting: if not self.reconnecting:
self._client.ui.showErrorMessage(getMessage("en", "connection-failed-notification")) self._client.stop(getMessage("en", "connection-failed-notification"))
else: else:
self.clientConnectionLost(connector, reason) self.clientConnectionLost(connector, reason)