mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-23 12:09:50 +00:00
Send: disable combobox on multi dest txs
This commit is contained in:
parent
e0f7473ed4
commit
f9b0cc1d1e
1 changed files with 2 additions and 0 deletions
|
@ -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("");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue