Merge pull request 'Send: disable combobox on multi dest txs' (#322) from tobtoht/feather:send_multi_combo into master

Reviewed-on: https://git.wownero.com/feather/feather/pulls/322
This commit is contained in:
tobtoht 2021-02-03 18:45:36 +00:00
commit 126becf47a

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("");
}