mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 00:19:25 -05:00
fixed bug causing new forums and identities to not show up immediately
This commit is contained in:
parent
57cff61873
commit
4661329bee
@ -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