fixed reloading of GXS id icon when banned/unbanned in forums

This commit is contained in:
csoler 2017-01-14 11:02:02 +01:00
parent 57f22e9764
commit 730869591d

View File

@ -93,12 +93,10 @@ void GxsIdRSTreeWidgetItem::setId(const RsGxsId &id, int column, bool retryWhenF
//std::cerr << " GxsIdRSTreeWidgetItem::setId(" << id << "," << column << ")"; //std::cerr << " GxsIdRSTreeWidgetItem::setId(" << id << "," << column << ")";
//std::cerr << std::endl; //std::cerr << std::endl;
if (mIdFound) if (mIdFound && mColumn == column && mId == id && (mBannedState == rsReputations->isIdentityBanned(mId)))
{
if (mColumn == column && mId == id && (mBannedState == rsReputations->isIdentityBanned(mId)))
return; return;
}
mBannedState = rsReputations->isIdentityBanned(mId);
mIdFound = false; mIdFound = false;
mRetryWhenFailed = retryWhenFailed; mRetryWhenFailed = retryWhenFailed;