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

Method updateDisplayUnit

src/qt/receiverequestdialog.cpp:103–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103void ReceiveRequestDialog::updateDisplayUnit()
104{
105 if (!model) return;
106 ui->amount_content->setText(BitcoinUnits::formatWithUnit(model->getOptionsModel()->getDisplayUnit(), info.amount));
107}
108
109void ReceiveRequestDialog::on_btnCopyURI_clicked()
110{

Callers

nothing calls this directly

Calls 3

setTextMethod · 0.80
getDisplayUnitMethod · 0.80
getOptionsModelMethod · 0.45

Tested by

no test coverage detected