aboutsummaryrefslogtreecommitdiff
path: root/src/qt/transactionview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt/transactionview.cpp')
-rw-r--r--src/qt/transactionview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/transactionview.cpp b/src/qt/transactionview.cpp
index 50291fea42..f88b6fc123 100644
--- a/src/qt/transactionview.cpp
+++ b/src/qt/transactionview.cpp
@@ -5,7 +5,7 @@
#include "walletmodel.h"
#include "addresstablemodel.h"
#include "transactiontablemodel.h"
-#include "guiutil.h"
+#include "bitcoinunits.h"
#include "csvmodelwriter.h"
#include "transactiondescdialog.h"
#include "editaddressdialog.h"
@@ -227,7 +227,7 @@ void TransactionView::changedPrefix(const QString &prefix)
void TransactionView::changedAmount(const QString &amount)
{
qint64 amount_parsed = 0;
- if(GUIUtil::parseMoney(amount, &amount_parsed))
+ if(BitcoinUnits::parse(BitcoinUnits::BTC, amount, &amount_parsed))
{
transactionProxyModel->setMinAmount(amount_parsed);
}