tMerge pull request #944 from tkhaew/priv_keys_pwd - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 0e3500469e7c865f1db421e39a146ababba40118 DIR parent 858ab183bbaf7d814514125599df247047d44e98 HTML 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: M gui/qt/main_window.py | 6 ++++++ 1 file changed, 6 insertions(+), 0 deletions(-) --- DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py t@@ -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)