tfix: notify proxy when switching server - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit f489466709abc2e737fd5100c3131ac078eda91c DIR parent d448d8bb27bd06332b99b54e54bd599f726d86b9 HTML Author: ThomasV <thomasv@gitorious> Date: Sat, 28 Feb 2015 14:08:58 +0100 fix: notify proxy when switching server Diffstat: M lib/network.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/lib/network.py b/lib/network.py t@@ -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() t@@ -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):