From 2038de230208ab26b3fa372d72d2a779d615e1d6 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sat, 21 Jan 2012 09:44:15 +0100 Subject: [PATCH] do not save wallet during recovery dialog --- client/gui.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/gui.py b/client/gui.py index 420fcb4df..843f3562f 100644 --- a/client/gui.py +++ b/client/gui.py @@ -124,6 +124,7 @@ def init_wallet(wallet): else: # ask for the server. + wallet.interface.get_servers() run_network_dialog( wallet, parent=None ) # 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: wallet.interface.host = host wallet.interface.set_port( port ) - wallet.save() wallet.interface.is_connected = False + if parent: + wallet.save()