MCPcopy Create free account
hub / github.com/ElementsProject/elements / changedAmount

Method changedAmount

src/qt/transactionview.cpp:338–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336}
337
338void TransactionView::changedAmount()
339{
340 if(!transactionProxyModel)
341 return;
342 CAmount amount_parsed = 0;
343 if (BitcoinUnits::parse(model->getOptionsModel()->getDisplayUnit(), amountWidget->text(), &amount_parsed)) {
344 transactionProxyModel->setMinAmount(amount_parsed);
345 }
346 else
347 {
348 transactionProxyModel->setMinAmount(0);
349 }
350}
351
352void TransactionView::exportClicked()
353{

Callers

nothing calls this directly

Calls 4

parseFunction · 0.85
getDisplayUnitMethod · 0.80
setMinAmountMethod · 0.80
getOptionsModelMethod · 0.45

Tested by

no test coverage detected