MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / changedAmount

Method changedAmount

src/qt/transactionview.cpp:330–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

328}
329
330void TransactionView::changedAmount()
331{
332 if(!transactionProxyModel)
333 return;
334 CAmount amount_parsed = 0;
335 if (BitcoinUnits::parse(model->getOptionsModel()->getDisplayUnit(), amountWidget->text(), &amount_parsed)) {
336 transactionProxyModel->setMinAmount(amount_parsed);
337 }
338 else
339 {
340 transactionProxyModel->setMinAmount(0);
341 }
342}
343
344void TransactionView::exportClicked()
345{

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