Skip to content

Commit 4df0766

Browse files
Merge pull request #453 from mxaddict/patch-2
Currency Change now updates staking info as well
2 parents ddba46d + 3c9aa50 commit 4df0766

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/qt/navcoingui.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1697,7 +1697,6 @@ void NavCoinGUI::updateWeight()
16971697
nWeight = pwalletMain->GetStakeWeight();
16981698
}
16991699

1700-
17011700
void NavCoinGUI::updatePrice()
17021701
{
17031702
QNetworkAccessManager *manager = new QNetworkAccessManager();

src/qt/overviewpage.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ void OverviewPage::setBalance(const CAmount& balance, const CAmount& unconfirmed
189189
ui->labelImmature->setText(NavCoinUnits::formatWithUnit(unit, immatureBalance, false, NavCoinUnits::separatorAlways));
190190
ui->labelTotal->setText(NavCoinUnits::formatWithUnit(unit, balance + unconfirmedBalance + stakingBalance, false, NavCoinUnits::separatorAlways));
191191

192+
updateStakeReportNow();
193+
192194
bool showStaking = stakingBalance != 0;
193195

194196
ui->labelStaking->setVisible(showStaking);

0 commit comments

Comments
 (0)