Coin Control: checkbox custom change address
| 971 | |
| 972 | // Coin Control: checkbox custom change address |
| 973 | void SendCoinsDialog::coinControlChangeChecked(int state) |
| 974 | { |
| 975 | if (state == Qt::Unchecked) |
| 976 | { |
| 977 | // ELEMENTS: it's a map now, should be initialized automatically |
| 978 | //m_coin_control->destChange = CNoDestination(); |
| 979 | ui->labelCoinControlChangeLabel->clear(); |
| 980 | } |
| 981 | else |
| 982 | // use this to re-validate an already entered address |
| 983 | coinControlChangeEdited(ui->lineEditCoinControlChange->text()); |
| 984 | |
| 985 | ui->lineEditCoinControlChange->setEnabled((state == Qt::Checked)); |
| 986 | } |
| 987 | |
| 988 | // Coin Control: custom change address changed |
| 989 | void SendCoinsDialog::coinControlChangeEdited(const QString& text) |
nothing calls this directly
no test coverage detected