|
|
@ -4,6 +4,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
#include "addressbookdialog.h" |
|
|
|
#include "addressbookdialog.h" |
|
|
|
#include "bitcoinaddressvalidator.h" |
|
|
|
#include "bitcoinaddressvalidator.h" |
|
|
|
|
|
|
|
#include "optionsmodel.h" |
|
|
|
|
|
|
|
|
|
|
|
#include <QApplication> |
|
|
|
#include <QApplication> |
|
|
|
#include <QClipboard> |
|
|
|
#include <QClipboard> |
|
|
@ -86,7 +87,7 @@ void SendCoinsDialog::on_sendButton_clicked() |
|
|
|
case ClientModel::AmountWithFeeExceedsBalance: |
|
|
|
case ClientModel::AmountWithFeeExceedsBalance: |
|
|
|
QMessageBox::warning(this, tr("Send Coins"), |
|
|
|
QMessageBox::warning(this, tr("Send Coins"), |
|
|
|
tr("Total exceeds your balance when the %1 transaction fee is included"). |
|
|
|
tr("Total exceeds your balance when the %1 transaction fee is included"). |
|
|
|
arg(QString::fromStdString(FormatMoney(model->getTransactionFee()))), |
|
|
|
arg(QString::fromStdString(FormatMoney(model->getOptionsModel()->getTransactionFee()))), |
|
|
|
QMessageBox::Ok, QMessageBox::Ok); |
|
|
|
QMessageBox::Ok, QMessageBox::Ok); |
|
|
|
ui->payAmount->setFocus(); |
|
|
|
ui->payAmount->setFocus(); |
|
|
|
break; |
|
|
|
break; |
|
|
|