fix wizard options (issue #2080)

This commit is contained in:
ThomasV 2016-12-19 13:25:16 +01:00
parent 950c045e09
commit 85c7fccdf9
1 changed files with 6 additions and 1 deletions

View File

@ -264,9 +264,14 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard):
@wizard_dialog
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')
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
def confirm_seed_dialog(self, run_next, test):