mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
fix #2342
This commit is contained in:
parent
e233ca33b4
commit
b23f788b4a
1 changed files with 4 additions and 8 deletions
|
@ -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…
Add table
Reference in a new issue