diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-01-29 12:47:13 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-01-29 12:48:27 +0100 |
commit | 7823598fa4774141568e5b6d73c4277a452f8d16 (patch) | |
tree | 97e3d2e86cee27ff8d77f93b706981841626dbfc /src/qt/sendcoinsdialog.cpp | |
parent | 7620ef9e7edbc3526e71922e7b080b5a332d6897 (diff) | |
parent | 6715efb9ca5cabeb07ae4ba8390a6e1b7638f66c (diff) |
Merge pull request #5620
6715efb [Qt] Payment request expiration bug fix (re-done) (Philip Kaufmann)
Diffstat (limited to 'src/qt/sendcoinsdialog.cpp')
-rw-r--r-- | src/qt/sendcoinsdialog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index 1f9bd57545..9e8743d805 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -529,6 +529,10 @@ void SendCoinsDialog::processSendCoinsReturn(const WalletModel::SendCoinsReturn case WalletModel::InsaneFee: msgParams.first = tr("A fee higher than %1 is considered an insanely high fee.").arg(BitcoinUnits::formatWithUnit(model->getOptionsModel()->getDisplayUnit(), 10000000)); break; + case WalletModel::PaymentRequestExpired: + msgParams.first = tr("Payment request expired!"); + msgParams.second = CClientUIInterface::MSG_ERROR; + break; // included to prevent a compiler warning. case WalletModel::OK: default: |