do not save wallet during recovery dialog

This commit is contained in:
ThomasV 2012-01-21 09:44:15 +01:00
parent 58d73c66e0
commit 2038de2302

View file

@ -124,6 +124,7 @@ def init_wallet(wallet):
else: else:
# ask for the server. # ask for the server.
wallet.interface.get_servers()
run_network_dialog( wallet, parent=None ) run_network_dialog( wallet, parent=None )
# ask for seed and gap. # ask for seed and gap.
@ -370,8 +371,9 @@ def run_network_dialog( wallet, parent ):
if host!= wallet.interface.host or port!=wallet.interface.port: if host!= wallet.interface.host or port!=wallet.interface.port:
wallet.interface.host = host wallet.interface.host = host
wallet.interface.set_port( port ) wallet.interface.set_port( port )
wallet.save()
wallet.interface.is_connected = False wallet.interface.is_connected = False
if parent:
wallet.save()