ThomasV 8 years ago
parent
commit
b23f788b4a
  1. 12
      gui/qt/installwizard.py

12
gui/qt/installwizard.py

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

Loading…
Cancel
Save