From 12acf6de35c55537174ee299a0e66b13ef2c5f8f Mon Sep 17 00:00:00 2001 From: csoler Date: Thu, 29 Oct 2015 23:31:23 -0400 Subject: [PATCH] fixed update of reputations display and used proper global score in id list --- retroshare-gui/src/gui/Identity/IdDialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/Identity/IdDialog.cpp b/retroshare-gui/src/gui/Identity/IdDialog.cpp index 0b85e719d..0ca1b384a 100644 --- a/retroshare-gui/src/gui/Identity/IdDialog.cpp +++ b/retroshare-gui/src/gui/Identity/IdDialog.cpp @@ -384,7 +384,7 @@ bool IdDialog::fillIdListItem(const RsGxsIdGroup& data, QTreeWidgetItem *&item, item->setData(RSID_COL_KEYID, Qt::UserRole,QVariant(item_flags)) ; item->setTextAlignment(RSID_COL_VOTES, Qt::AlignRight); - item->setData(RSID_COL_VOTES,Qt::DisplayRole, QString::number(info.mFriendAverage-1.0f,'f',3)); + item->setData(RSID_COL_VOTES,Qt::DisplayRole, QString::number(info.mOverallReputationScore - 1.0f,'f',3)); if(isOwnId) { @@ -756,6 +756,7 @@ void IdDialog::modifyReputation() // trigger refresh when finished. // basic / anstype are not needed. requestIdDetails(); + requestIdList(); return; }