Include Send Tab during labels update

This commit is contained in:
adityapk00
2019-02-23 11:27:30 -08:00
parent 5eb2a14aec
commit 318ffe24a7
4 changed files with 31 additions and 15 deletions

View File

@@ -708,21 +708,8 @@ void RPC::updateUI(bool anyUnconfirmed) {
// Update balances model data, which will update the table too
balancesTableModel->setNewData(allBalances, utxos);
// Add all the addresses into the inputs combo box
auto lastFromAddr = ui->inputsCombo->currentText();
ui->inputsCombo->clear();
auto i = allBalances->constBegin();
while (i != allBalances->constEnd()) {
ui->inputsCombo->addItem(i.key(), i.value());
if (i.key() == lastFromAddr) ui->inputsCombo->setCurrentText(i.key());
++i;
}
if (lastFromAddr.isEmpty()) {
main->setDefaultPayFrom();
}
// Update from address
main->updateFromCombo();
};
// Function to process reply of the listunspent and z_listunspent API calls, used below.