tfix wizard options (issue #2080) - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 85c7fccdf91a0be87140273009b5d4c80fd9ef13
DIR parent 950c045e09d52d8b9c1ae6cf4299f2d36fe90f70
HTML Author: ThomasV <thomasv@electrum.org>
Date: Mon, 19 Dec 2016 13:25:16 +0100
fix wizard options (issue #2080)
Diffstat:
M gui/qt/installwizard.py | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
DIR diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py
t@@ -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):