commit bd3f3c3554c1847724b4b093de50cc8e188b2c56 parent 3b10bd8307f8ac98d85db13502ccf24dac3b5623 Author: ThomasV <thomasv@electrum.org> Date: Fri, 15 Jan 2016 11:24:19 +0100 fix issue #1610 Diffstat:
M | plugins/trustedcoin/qt.py | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/plugins/trustedcoin/qt.py b/plugins/trustedcoin/qt.py @@ -260,7 +260,9 @@ class Plugin(TrustedCoinPlugin): vbox = QVBoxLayout() if otp_secret is not None: uri = "otpauth://totp/%s?secret=%s"%('trustedcoin.com', otp_secret) - vbox.addWidget(QLabel("Please scan this QR code in Google Authenticator.")) + l = QLabel("Please scan the following QR code in Google Authenticator. You may as well use the following key: %s"%otp_secret) + l.setWordWrap(True) + vbox.addWidget(l) qrw = QRCodeWidget(uri) vbox.addWidget(qrw, 1) msg = _('Then, enter your Google Authenticator code:')