Send: disable combobox on multi dest txs

This commit is contained in:
tobtoht 2021-02-03 19:42:31 +01:00
parent e0f7473ed4
commit f9b0cc1d1e
No known key found for this signature in database
GPG Key ID: 1CADD27F41F45C3C
1 changed files with 2 additions and 0 deletions

View File

@ -59,9 +59,11 @@ void SendWidget::addressEdited() {
ui->lineAmount->setReadOnly(freezeAmounts);
ui->lineAmount->setFrame(!freezeAmounts);
ui->btnMax->setDisabled(freezeAmounts);
ui->comboCurrencySelection->setDisabled(freezeAmounts);
if (outputs.size() > 0) {
ui->lineAmount->setText(WalletManager::displayAmount(ui->lineAddress->getTotal()));
ui->comboCurrencySelection->setCurrentIndex(0);
} else {
ui->lineAmount->setText("");
}