aboutsummaryrefslogtreecommitdiff
path: root/src/qt/sendcoinsdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt/sendcoinsdialog.cpp')
-rw-r--r--src/qt/sendcoinsdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp
index 33d9a25477..d83962d1bd 100644
--- a/src/qt/sendcoinsdialog.cpp
+++ b/src/qt/sendcoinsdialog.cpp
@@ -48,10 +48,10 @@ void SendCoinsDialog::on_sendButton_clicked()
valid = GUIUtil::parseMoney(payAmount, &payAmountParsed);
- if(!valid)
+ if(!valid || payAmount.isEmpty())
{
QMessageBox::warning(this, tr("Send Coins"),
- tr("The amount to pay must be a valid number."),
+ tr("Must fill in an amount to pay."),
QMessageBox::Ok, QMessageBox::Ok);
return;
}