Add balances warning for syncing

This commit is contained in:
adityapk00
2019-05-01 21:57:03 -07:00
parent 48bef601de
commit 37ab20fef6
3 changed files with 34 additions and 4 deletions

View File

@@ -1018,6 +1018,8 @@ void MainWindow::exportKeys(QString addr) {
void MainWindow::setupBalancesTab() {
ui->unconfirmedWarning->setVisible(false);
ui->lblSyncWarning->setVisible(false);
ui->lblSyncWarningReceive->setVisible(false);
// Double click on balances table
auto fnDoSendFrom = [=](const QString& addr, const QString& to = QString(), bool sendMax = false) {
@@ -1275,11 +1277,12 @@ void MainWindow::setupRecieveTab() {
// Connect t-addr radio button
QObject::connect(ui->rdioTAddr, &QRadioButton::toggled, [=] (bool checked) {
// DEPRECATED
// Whenever the t-address is selected, we generate a new address, because we don't
// want to reuse t-addrs
if (checked && this->rpc->getUTXOs() != nullptr) {
updateTAddrCombo(checked);
addNewTAddr();
//addNewTAddr();
}
});