tnetwork dialog: default ports - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 7ca42d75ffa28622209644517d0b23cfab8c8c19 DIR parent c0abd3c34eaf1220c8ac08ab68f2fe5ec5988679 HTML Author: ThomasV <thomasv@gitorious> Date: Sat, 5 Oct 2013 08:51:53 +0200 network dialog: default ports Diffstat: M gui/qt/network_dialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/gui/qt/network_dialog.py b/gui/qt/network_dialog.py t@@ -177,7 +177,7 @@ class NetworkDialog(QDialog): def change_protocol(self, index): p = protocol_letters[index] host = unicode(self.server_host.text()) - pp = self.servers.get(host) + pp = self.servers.get(host, DEFAULT_PORTS) if p not in pp.keys(): p = pp.keys()[0] port = pp[p]