trustedcoin: add message about how to request new code

This commit is contained in:
ThomasV 2017-11-13 11:47:25 +01:00
parent 60e0b43b81
commit 5e8791e5a4
1 changed files with 4 additions and 0 deletions

View File

@ -78,6 +78,10 @@ class Plugin(TrustedCoinPlugin):
grid.addWidget(QLabel(_('Code')), 1, 0)
grid.addWidget(pw, 1, 1)
vbox.addLayout(grid)
msg = _('If you have lost your second factor, you need to restore your wallet from seed in order to request a new code.')
label = QLabel(msg)
label.setWordWrap(1)
vbox.addWidget(label)
vbox.addLayout(Buttons(CancelButton(d), OkButton(d)))
if not d.exec_():
return