From bddd90df43de5323be3be0b2c1a0061588f89fa8 Mon Sep 17 00:00:00 2001 From: csoler Date: Mon, 6 Apr 2020 22:11:32 +0200 Subject: [PATCH] fixed bug causing some GxsGroupFrameDialog not to show content --- retroshare-gui/src/gui/gxs/GxsGroupFrameDialog.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/gxs/GxsGroupFrameDialog.cpp b/retroshare-gui/src/gui/gxs/GxsGroupFrameDialog.cpp index ad8480978..47300b83e 100644 --- a/retroshare-gui/src/gui/gxs/GxsGroupFrameDialog.cpp +++ b/retroshare-gui/src/gui/gxs/GxsGroupFrameDialog.cpp @@ -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 ); }