File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -589,6 +589,9 @@ void SendCoinsDialog::updateGlobalFeeVariables()
589
589
{
590
590
nTxConfirmTarget = defaultConfirmTarget - ui->sliderSmartFee ->value ();
591
591
payTxFee = CFeeRate (0 );
592
+
593
+ // set nMinimumTotalFee to 0 to not accidentally pay a custom fee
594
+ CoinControlDialog::coinControl->nMinimumTotalFee = 0 ;
592
595
}
593
596
else
594
597
{
@@ -781,7 +784,7 @@ void SendCoinsDialog::coinControlUpdateLabels()
781
784
ui->radioCustomAtLeast ->setVisible (true );
782
785
783
786
// only enable the feature if inputs are selected
784
- ui->radioCustomAtLeast ->setEnabled (CoinControlDialog::coinControl->HasSelected ());
787
+ ui->radioCustomAtLeast ->setEnabled (ui-> radioCustomFee -> isChecked () && !ui-> checkBoxMinimumFee -> isChecked () && CoinControlDialog::coinControl->HasSelected ());
785
788
}
786
789
else
787
790
{
You can’t perform that action at this time.
0 commit comments