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

View file

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