wizard: keepkey scope pin lineedit to instance
This commit is contained in:
@@ -276,12 +276,12 @@ class KeepkeyInitLayout(QVBoxLayout):
|
|||||||
|
|
||||||
self.addWidget(QLabel(msg))
|
self.addWidget(QLabel(msg))
|
||||||
self.addWidget(self.text_e)
|
self.addWidget(self.text_e)
|
||||||
pin = QLineEdit()
|
self.pin = QLineEdit()
|
||||||
pin.setValidator(QRegExpValidator(QRegExp('[1-9]{0,9}')))
|
self.pin.setValidator(QRegExpValidator(QRegExp('[1-9]{0,9}')))
|
||||||
pin.setMaximumWidth(100)
|
self.pin.setMaximumWidth(100)
|
||||||
hbox_pin = QHBoxLayout()
|
hbox_pin = QHBoxLayout()
|
||||||
hbox_pin.addWidget(QLabel(_("Enter your PIN (digits 1-9):")))
|
hbox_pin.addWidget(QLabel(_("Enter your PIN (digits 1-9):")))
|
||||||
hbox_pin.addWidget(pin)
|
hbox_pin.addWidget(self.pin)
|
||||||
hbox_pin.addStretch(1)
|
hbox_pin.addStretch(1)
|
||||||
|
|
||||||
if method in [TIM_NEW, TIM_RECOVER]:
|
if method in [TIM_NEW, TIM_RECOVER]:
|
||||||
|
|||||||
Reference in New Issue
Block a user