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

Method updateDisplayUnit

src/qt/sendcoinsentry.cpp:254–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254void SendCoinsEntry::updateDisplayUnit()
255{
256 if(model && model->getOptionsModel())
257 {
258 // Update payAmount with the current unit
259 ui->payAmount->setDisplayUnit(model->getOptionsModel()->getDisplayUnit());
260 ui->payAmount_is->setDisplayUnit(model->getOptionsModel()->getDisplayUnit());
261 ui->payAmount_s->setDisplayUnit(model->getOptionsModel()->getDisplayUnit());
262 }
263}
264
265bool SendCoinsEntry::updateLabel(const QString &address)
266{

Callers

nothing calls this directly

Calls 3

getDisplayUnitMethod · 0.80
getOptionsModelMethod · 0.45
setDisplayUnitMethod · 0.45

Tested by

no test coverage detected