tfix: set auto-cycle to None only during wallet creation - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit f64c59f66f274d9606ed2cf1a4fdba80dd3290c3 DIR parent 717a4ab5b2bd9c2472ad26ec046330f58bc036d3 HTML Author: thomasv <thomasv@gitorious> Date: Thu, 1 Aug 2013 16:39:45 +0200 fix: set auto-cycle to None only during wallet creation Diffstat: M electrum | 3 +++ M gui/network_dialog.py | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) --- DIR diff --git a/electrum b/electrum t@@ -160,6 +160,9 @@ if __name__ == '__main__': # select a server. s = gui.network_dialog() + if s is None: + config.set_key("server", None, True) + config.set_key('auto_cycle', False, True) interface.start(wait = False) interface.send([('server.peers.subscribe',[])]) DIR diff --git a/gui/network_dialog.py b/gui/network_dialog.py t@@ -212,8 +212,6 @@ class NetworkDialog(QDialog): def do_exec(self): if not self.exec_(): - self.config.set_key("server", None, True) - self.config.set_key('auto_cycle', False, True) return server = ':'.join([str( self.server_host.text() ),