This commit is contained in:
ThomasV 2017-03-29 10:07:42 +02:00
parent e233ca33b4
commit b23f788b4a

View file

@ -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):