mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Merge pull request #1265 from csoler/v0.6-GxsFix
fixed bug causing new forums and identities to not show up immediately
This commit is contained in:
commit
291c86e2d0
@ -952,6 +952,8 @@ void RsDataService::locked_updateGrpMetaCache(const RsGxsGrpMetaData& meta)
|
||||
|
||||
if(it != mGrpMetaDataCache.end())
|
||||
*(it->second) = meta ;
|
||||
else
|
||||
mGrpMetaDataCache[meta.mGroupId] = new RsGxsGrpMetaData(meta) ;
|
||||
}
|
||||
|
||||
void RsDataService::locked_clearGrpMetaCache(const RsGxsGroupId& gid)
|
||||
|
@ -67,6 +67,10 @@ void RsGxsUpdateBroadcastBase::updateBroadcastChanged()
|
||||
|
||||
/* Update only update when the widget is visible. */
|
||||
if (mUpdateWhenInvisible || !widget || widget->isVisible()) {
|
||||
|
||||
if (!mGrpIds.empty() || !mGrpIdsMeta.empty() || !mMsgIds.empty() || !mMsgIdsMeta.empty())
|
||||
mFillComplete = true ;
|
||||
|
||||
securedUpdateDisplay();
|
||||
}
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ protected:
|
||||
// This is overloaded in subclasses.
|
||||
virtual void updateDisplay(bool complete) = 0;
|
||||
|
||||
private slots:
|
||||
public slots:
|
||||
void fillDisplay(bool complete);
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user