Changeset View
Changeset View
Standalone View
Standalone View
src/qt/transactionview.cpp
Show First 20 Lines • Show All 332 Lines • ▼ Show 20 Lines | |||||
void TransactionView::changedAmount(const QString &amount) { | void TransactionView::changedAmount(const QString &amount) { | ||||
if (!transactionProxyModel) return; | if (!transactionProxyModel) return; | ||||
Amount amount_parsed(0); | Amount amount_parsed(0); | ||||
if (BitcoinUnits::parse(model->getOptionsModel()->getDisplayUnit(), amount, | if (BitcoinUnits::parse(model->getOptionsModel()->getDisplayUnit(), amount, | ||||
&amount_parsed)) { | &amount_parsed)) { | ||||
transactionProxyModel->setMinAmount(amount_parsed); | transactionProxyModel->setMinAmount(amount_parsed); | ||||
} else { | } else { | ||||
transactionProxyModel->setMinAmount(0); | transactionProxyModel->setMinAmount(Amount(0)); | ||||
} | } | ||||
} | } | ||||
void TransactionView::exportClicked() { | void TransactionView::exportClicked() { | ||||
// CSV is currently the only supported format | // CSV is currently the only supported format | ||||
QString filename = GUIUtil::getSaveFileName( | QString filename = GUIUtil::getSaveFileName( | ||||
this, tr("Export Transaction History"), QString(), | this, tr("Export Transaction History"), QString(), | ||||
tr("Comma separated file (*.csv)"), nullptr); | tr("Comma separated file (*.csv)"), nullptr); | ||||
▲ Show 20 Lines • Show All 243 Lines • Show Last 20 Lines |