1
0

Implement passphrase protection toggling.

Along with chicken box.
This commit is contained in:
Neil Booth
2016-01-06 23:08:02 +09:00
parent 9b29c6c2e6
commit 6fb7dbd30d
4 changed files with 34 additions and 9 deletions

View File

@@ -439,7 +439,6 @@ class InstallWizard(WindowModalDialog, WizardBase):
else:
text = QTextEdit()
text.setMaximumHeight(60)
vbox.addWidget(text)
if method == self.TIM_MNEMONIC:
msg = _("Enter your BIP39 mnemonic:")
else:
@@ -451,6 +450,7 @@ class InstallWizard(WindowModalDialog, WizardBase):
OK_button.setEnabled(False)
vbox.addWidget(QLabel(msg))
vbox.addWidget(text)
pin = QLineEdit()
pin.setValidator(QRegExpValidator(QRegExp('[1-9]{0,10}')))
pin.setMaximumWidth(100)