Skip to content

Commit

Permalink
Merge pull request #453 from mxaddict/patch-2
Browse files Browse the repository at this point in the history
Currency Change now updates staking info as well
  • Loading branch information
proletesseract authored May 8, 2019
2 parents ddba46d + 3c9aa50 commit 4df0766
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/qt/navcoingui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1697,7 +1697,6 @@ void NavCoinGUI::updateWeight()
nWeight = pwalletMain->GetStakeWeight();
}


void NavCoinGUI::updatePrice()
{
QNetworkAccessManager *manager = new QNetworkAccessManager();
Expand Down
2 changes: 2 additions & 0 deletions src/qt/overviewpage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ void OverviewPage::setBalance(const CAmount& balance, const CAmount& unconfirmed
ui->labelImmature->setText(NavCoinUnits::formatWithUnit(unit, immatureBalance, false, NavCoinUnits::separatorAlways));
ui->labelTotal->setText(NavCoinUnits::formatWithUnit(unit, balance + unconfirmedBalance + stakingBalance, false, NavCoinUnits::separatorAlways));

updateStakeReportNow();

bool showStaking = stakingBalance != 0;

ui->labelStaking->setVisible(showStaking);
Expand Down

0 comments on commit 4df0766

Please sign in to comment.