mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-09 15:59:25 -04:00
fixed bug causing new forums and identities to not show up immediately
This commit is contained in:
parent
57cff61873
commit
4661329bee
3 changed files with 7 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue