fix wizard options (issue #2080)
This commit is contained in:
parent
950c045e09
commit
85c7fccdf9
|
@ -264,9 +264,14 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard):
|
||||||
|
|
||||||
@wizard_dialog
|
@wizard_dialog
|
||||||
def restore_seed_dialog(self, run_next, test):
|
def restore_seed_dialog(self, run_next, test):
|
||||||
|
options = []
|
||||||
|
if self.opt_ext:
|
||||||
|
options.append('ext')
|
||||||
|
if self.opt_bip39:
|
||||||
|
options.append('bip39')
|
||||||
title = _('Enter Seed')
|
title = _('Enter Seed')
|
||||||
message = _('Please enter your seed phrase in order to restore your wallet.')
|
message = _('Please enter your seed phrase in order to restore your wallet.')
|
||||||
return self.seed_input(title, message, test, ['ext', 'bip39'])
|
return self.seed_input(title, message, test, options)
|
||||||
|
|
||||||
@wizard_dialog
|
@wizard_dialog
|
||||||
def confirm_seed_dialog(self, run_next, test):
|
def confirm_seed_dialog(self, run_next, test):
|
||||||
|
|
Loading…
Reference in New Issue