821@@ -822,6 +822,12 @@ void SendCoinsDialog::coinControlUpdateLabels()
822 // set pay amounts
823 CoinControlDialog::payAmounts.clear();
824 CoinControlDialog::fSubtractFeeFromAmount = false;
825+ if (ui->radioSmartFee->isChecked()) {
826+ CoinControlDialog::coinControl->nConfirmTarget = ui->sliderSmartFee->maximum() - ui->sliderSmartFee->value() + 2;
Seems strange that all these CoinControlDialog members are static, but of course the pr isn’t changing that. This seems like a clean fix given the current organization.
Yes the use of static here has always annoyed me too, but indeed that’s not the focus here.