commit f489466709abc2e737fd5100c3131ac078eda91c
parent d448d8bb27bd06332b99b54e54bd599f726d86b9
Author: ThomasV <thomasv@gitorious>
Date: Sat, 28 Feb 2015 14:08:58 +0100
fix: notify proxy when switching server
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/network.py b/lib/network.py
@@ -138,7 +138,7 @@ class Network(threading.Thread):
def get_server_height(self):
- return self.heights.get(self.default_server,0)
+ return self.heights.get(self.default_server, 0)
def server_is_lagging(self):
h = self.get_server_height()
@@ -285,6 +285,7 @@ class Network(threading.Thread):
self.default_server = server
self.send_subscriptions()
self.set_status('connected')
+ self.notify('updated')
def stop_interface(self):