Changeset View
Changeset View
Standalone View
Standalone View
src/qt/coincontroldialog.cpp
Show First 20 Lines • Show All 578 Lines • ▼ Show 20 Lines | if (nQuantity > 0) { | ||||
} | } | ||||
} | } | ||||
// after fee | // after fee | ||||
nAfterFee = std::max<CAmount>(nAmount - nPayFee, 0); | nAfterFee = std::max<CAmount>(nAmount - nPayFee, 0); | ||||
} | } | ||||
// actually update labels | // actually update labels | ||||
int nDisplayUnit = BitcoinUnits::BCC; | int nDisplayUnit = BitcoinUnits::BCH; | ||||
if (model && model->getOptionsModel()) { | if (model && model->getOptionsModel()) { | ||||
nDisplayUnit = model->getOptionsModel()->getDisplayUnit(); | nDisplayUnit = model->getOptionsModel()->getDisplayUnit(); | ||||
} | } | ||||
QLabel *l1 = dialog->findChild<QLabel *>("labelCoinControlQuantity"); | QLabel *l1 = dialog->findChild<QLabel *>("labelCoinControlQuantity"); | ||||
QLabel *l2 = dialog->findChild<QLabel *>("labelCoinControlAmount"); | QLabel *l2 = dialog->findChild<QLabel *>("labelCoinControlAmount"); | ||||
QLabel *l3 = dialog->findChild<QLabel *>("labelCoinControlFee"); | QLabel *l3 = dialog->findChild<QLabel *>("labelCoinControlFee"); | ||||
QLabel *l4 = dialog->findChild<QLabel *>("labelCoinControlAfterFee"); | QLabel *l4 = dialog->findChild<QLabel *>("labelCoinControlAfterFee"); | ||||
▲ Show 20 Lines • Show All 249 Lines • Show Last 20 Lines |