mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-01 02:36:23 -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();
|
initUi();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool empty = mCachedGroupMetas.empty();
|
uint32_t children = mYourGroups->childCount() + mSubscribedGroups->childCount() + mPopularGroups->childCount() + mOtherGroups->childCount();
|
||||||
|
|
||||||
|
bool empty = mCachedGroupMetas.empty() || children==0;
|
||||||
|
|
||||||
updateDisplay( empty );
|
updateDisplay( empty );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue