mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-26 07:16:11 -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();
|
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…
x
Reference in New Issue
Block a user