#include "addressbookdialog.h"
#include "bitcoinaddressvalidator.h"
+#include "optionsmodel.h"
#include <QApplication>
#include <QClipboard>
case ClientModel::AmountWithFeeExceedsBalance:
QMessageBox::warning(this, tr("Send Coins"),
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);
ui->payAmount->setFocus();
break;