Skip to content

Commit

Permalink
Fix initial display of the merit address and alias of a user.
Browse files Browse the repository at this point in the history
The timing of when setModel was called is before the model get's an address
that's beaconed. The better fix would be to string slots signals when the
address is beaconed but until then this fix works.
  • Loading branch information
mempko committed Feb 18, 2018
1 parent b4c9ee2 commit 8c60614
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/qt/overviewpage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,10 @@ void OverviewPage::UpdateNetworkView()
return;
}

setYourCommunity(
walletModel->GetAlias(),
walletModel->GetUnlockCode());

auto ref_model = walletModel->getReferralListModel();
if(ref_model) {
ref_model->Refresh();
Expand Down

0 comments on commit 8c60614

Please sign in to comment.