mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-12 07:59:29 -05:00
fixed bug causing some GxsGroupFrameDialog not to show content
This commit is contained in:
parent
5c71a46c52
commit
bddd90df43
@ -182,7 +182,9 @@ void GxsGroupFrameDialog::showEvent(QShowEvent *event)
|
||||
initUi();
|
||||
}
|
||||
|
||||
bool empty = mCachedGroupMetas.empty();
|
||||
uint32_t children = mYourGroups->childCount() + mSubscribedGroups->childCount() + mPopularGroups->childCount() + mOtherGroups->childCount();
|
||||
|
||||
bool empty = mCachedGroupMetas.empty() || children==0;
|
||||
|
||||
updateDisplay( empty );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user