mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-29 09:26:18 -05:00
fixed reloading of GXS id icon when banned/unbanned in forums
This commit is contained in:
parent
57f22e9764
commit
730869591d
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user