diff options
| author | Wladimir J. van der Laan <[email protected]> | 2011-08-24 22:07:26 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2011-08-31 14:19:43 +0200 |
| commit | b7bcaf940d27fa8cfe89422943fbeaab7a350930 (patch) | |
| tree | 73f01425d448afe9f523a434420cfd09e32406e6 /src/qt/editaddressdialog.cpp | |
| parent | add russian translation and add unicode compatibility (merges pull request #20) (diff) | |
| download | discoin-b7bcaf940d27fa8cfe89422943fbeaab7a350930.tar.xz discoin-b7bcaf940d27fa8cfe89422943fbeaab7a350930.zip | |
Wallet encryption part 2: ask passphrase when needed, add menu options
Diffstat (limited to 'src/qt/editaddressdialog.cpp')
| -rw-r--r-- | src/qt/editaddressdialog.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qt/editaddressdialog.cpp b/src/qt/editaddressdialog.cpp index 2b3d9bf0f..06e74db25 100644 --- a/src/qt/editaddressdialog.cpp +++ b/src/qt/editaddressdialog.cpp @@ -92,6 +92,11 @@ void EditAddressDialog::accept() tr("The entered address \"%1\" is not a valid bitcoin address.").arg(ui->addressEdit->text()), QMessageBox::Ok, QMessageBox::Ok); return; + case AddressTableModel::WALLET_UNLOCK_FAILURE: + QMessageBox::critical(this, windowTitle(), + tr("Could not unlock wallet."), + QMessageBox::Ok, QMessageBox::Ok); + return; } return; |