commit 5e8791e5a4cc38fb03fa772a06ae8aefb83e2b06
parent 60e0b43b8129fe1b66a6ceeb9f2dc01a5b6de1b4
Author: ThomasV <thomasv@electrum.org>
Date: Mon, 13 Nov 2017 11:47:25 +0100
trustedcoin: add message about how to request new code
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/plugins/trustedcoin/qt.py b/plugins/trustedcoin/qt.py
@@ -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