Skip to content

Commit

Permalink
Merge pull request bitcoin#220
Browse files Browse the repository at this point in the history
56c7d24 Add NULL check for BTC balance update (zathras-crypto)
8ebb50c Fix Bitcoin balance disappears from the UI on reorg (zathras-crypto)
  • Loading branch information
dexX7 committed Sep 4, 2015
2 parents 8d52be5 + 56c7d24 commit 8f4e0d6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/qt/overviewpage.cpp
Expand Up @@ -470,8 +470,10 @@ void OverviewPage::reinitOmni()
{
recentCache.clear();
ui->overviewLW->clear();
UpdatePropertyBalance(0,0,0);
UpdatePropertyBalance(1,0,0);
if (walletModel != NULL) {
UpdatePropertyBalance(0, walletModel->getBalance(), walletModel->getUnconfirmedBalance());
}
UpdatePropertyBalance(1, 0, 0);
updateOmni();
}

Expand Down

0 comments on commit 8f4e0d6

Please sign in to comment.