aboutsummaryrefslogtreecommitdiff
path: root/src/qt/editaddressdialog.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-09-02 18:02:22 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-09-02 18:02:22 +0200
commitc5aa1b139a983613b1d5acc8f57804a9c66d4ff1 (patch)
tree839d63707936363be7d30ad51e4c024448c97410 /src/qt/editaddressdialog.cpp
parent7a15d4ff67c9a6e3b6b5a63f82f76ffe1937c3b8 (diff)
update to work with new lock system, add protocol.* to build system
Diffstat (limited to 'src/qt/editaddressdialog.cpp')
-rw-r--r--src/qt/editaddressdialog.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qt/editaddressdialog.cpp b/src/qt/editaddressdialog.cpp
index 06e74db25a..b8e6fe4578 100644
--- a/src/qt/editaddressdialog.cpp
+++ b/src/qt/editaddressdialog.cpp
@@ -97,6 +97,11 @@ void EditAddressDialog::accept()
tr("Could not unlock wallet."),
QMessageBox::Ok, QMessageBox::Ok);
return;
+ case AddressTableModel::KEY_GENERATION_FAILURE:
+ QMessageBox::critical(this, windowTitle(),
+ tr("New key generation failed."),
+ QMessageBox::Ok, QMessageBox::Ok);
+ return;
}
return;