commit 0e3500469e7c865f1db421e39a146ababba40118
parent 858ab183bbaf7d814514125599df247047d44e98
Author: ThomasV <thomasv1@gmx.de>
Date: Wed, 3 Dec 2014 21:22:47 +0100
Merge pull request #944 from tkhaew/priv_keys_pwd
Issue #941 fix export_privkeys_dialog, add invalid password check
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
@@ -2310,6 +2310,12 @@ class ElectrumWindow(QMainWindow):
self.show_message(_("This is a watching-only wallet"))
return
+ try:
+ mnemonic = self.wallet.get_mnemonic(password)
+ except Exception:
+ QMessageBox.warning(self, _('Error'), _('Incorrect Password'), _('OK'))
+ return
+
d = QDialog(self)
d.setWindowTitle(_('Private keys'))
d.setMinimumSize(850, 300)