| 124 | } |
| 125 | |
| 126 | void SendCoinsEntry::payAmountChangedInternal() |
| 127 | { |
| 128 | const auto send_assets = ui->payAmount->fullValue(); |
| 129 | if (send_assets.first == Params().GetConsensus().pegged_asset) { |
| 130 | ui->checkboxSubtractFeeFromAmount->setEnabled(true); |
| 131 | } else { |
| 132 | ui->checkboxSubtractFeeFromAmount->setCheckState(Qt::Unchecked); |
| 133 | ui->checkboxSubtractFeeFromAmount->setEnabled(false); |
| 134 | } |
| 135 | } |
| 136 | |
| 137 | void SendCoinsEntry::checkSubtractFeeFromAmount() |
| 138 | { |
nothing calls this directly
no test coverage detected