electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit b23f788b4a40bda63dae0fed8e3bb390c4a547fb
parent e233ca33b46b1ee28cc0b0f8f6bf0d67d5646c6a
Author: ThomasV <thomasv@electrum.org>
Date:   Wed, 29 Mar 2017 10:07:42 +0200

fix #2342

Diffstat:
Mgui/qt/installwizard.py | 12++++--------
1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py @@ -485,17 +485,13 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard): self.back_button.setText(_('Cancel')) self.exec_layout(clayout.layout(), title) r = clayout.selected_index() - if r == 0: - auto_connect = True - elif r == 1: - auto_connect = True + if r == 1: nlayout = NetworkChoiceLayout(network, self.config, wizard=True) if self.exec_layout(nlayout.layout()): - auto_connect = False + nlayout.accept() else: - auto_connect = True - network.auto_connect = auto_connect - self.config.set_key('auto_connect', auto_connect, True) + network.auto_connect = True + self.config.set_key('auto_connect', True, True) @wizard_dialog def multisig_dialog(self, run_next):