mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-25 17:21:05 -04:00
fixed bug causing some GxsGroupFrameDialog not to show content
This commit is contained in:
parent
5c71a46c52
commit
bddd90df43
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue