fix: set auto-cycle to None only during wallet creation

This commit is contained in:
thomasv 2013-08-01 16:39:45 +02:00
parent 717a4ab5b2
commit f64c59f66f
2 changed files with 3 additions and 2 deletions

View File

@ -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',[])])

View File

@ -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() ),