MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / updateDisplayUnit

Method updateDisplayUnit

src/qt/sendcoinsentry.cpp:208–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208void SendCoinsEntry::updateDisplayUnit()
209{
210 if (model && model->getOptionsModel()) {
211 ui->payAmount->setDisplayUnit(model->getOptionsModel()->getDisplayUnit());
212 }
213}
214
215void SendCoinsEntry::changeEvent(QEvent* e)
216{

Callers

nothing calls this directly

Calls 3

getDisplayUnitMethod · 0.80
getOptionsModelMethod · 0.45
setDisplayUnitMethod · 0.45

Tested by

no test coverage detected