|
|
|
@ -115,7 +115,6 @@ SendCoinsDialog::SendCoinsDialog(const PlatformStyle *_platformStyle, QWidget *p
@@ -115,7 +115,6 @@ SendCoinsDialog::SendCoinsDialog(const PlatformStyle *_platformStyle, QWidget *p
|
|
|
|
|
ui->groupCustomFee->button((int)std::max(0, std::min(1, settings.value("nCustomFeeRadio").toInt())))->setChecked(true); |
|
|
|
|
ui->customFee->setValue(settings.value("nTransactionFee").toLongLong()); |
|
|
|
|
ui->checkBoxMinimumFee->setChecked(settings.value("fPayOnlyMinFee").toBool()); |
|
|
|
|
ui->optInRBF->setCheckState(model->getDefaultWalletRbf() ? Qt::Checked : Qt::Unchecked); |
|
|
|
|
minimizeFeeSection(settings.value("fFeeSectionMinimized").toBool()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -176,6 +175,9 @@ void SendCoinsDialog::setModel(WalletModel *_model)
@@ -176,6 +175,9 @@ void SendCoinsDialog::setModel(WalletModel *_model)
|
|
|
|
|
updateSmartFeeLabel(); |
|
|
|
|
updateGlobalFeeVariables(); |
|
|
|
|
|
|
|
|
|
// set default rbf checkbox state
|
|
|
|
|
ui->optInRBF->setCheckState(model->getDefaultWalletRbf() ? Qt::Checked : Qt::Unchecked); |
|
|
|
|
|
|
|
|
|
// set the smartfee-sliders default value (wallets default conf.target or last stored value)
|
|
|
|
|
QSettings settings; |
|
|
|
|
if (settings.value("nSmartFeeSliderPosition").toInt() == 0) |
|
|
|
|