From 2afa2b39b3abc0ee8415359552b8db2b3e9ec376 Mon Sep 17 00:00:00 2001 From: Etoh Date: Thu, 6 Mar 2014 19:52:23 +0000 Subject: [PATCH] Stop on connection failed --- syncplay/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncplay/client.py b/syncplay/client.py index 0ef784a..c4a5051 100644 --- a/syncplay/client.py +++ b/syncplay/client.py @@ -42,7 +42,7 @@ class SyncClientFactory(ClientFactory): def clientConnectionFailed(self, connector, reason): if not self.reconnecting: - self._client.ui.showErrorMessage(getMessage("en", "connection-failed-notification")) + self._client.stop(getMessage("en", "connection-failed-notification")) else: self.clientConnectionLost(connector, reason)