From 299d0b6d75f44b71c0ed729f8d429737a9b0d5f4 Mon Sep 17 00:00:00 2001 From: csoler Date: Thu, 26 Oct 2017 19:40:12 +0200 Subject: [PATCH] added missing test for subscribed channels in share-on-channel menu --- retroshare-gui/src/gui/FileTransfer/SharedFilesDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/FileTransfer/SharedFilesDialog.cpp b/retroshare-gui/src/gui/FileTransfer/SharedFilesDialog.cpp index afba50f7b..4a1d3a067 100644 --- a/retroshare-gui/src/gui/FileTransfer/SharedFilesDialog.cpp +++ b/retroshare-gui/src/gui/FileTransfer/SharedFilesDialog.cpp @@ -1027,7 +1027,7 @@ void LocalSharedFilesDialog::spawnCustomPopupMenu( QPoint point ) channelDialog->getGroupList(grp_metas) ; for(auto it(grp_metas.begin());it!=grp_metas.end();++it) - if(IS_GROUP_PUBLISHER((*it).mSubscribeFlags)) + if(IS_GROUP_PUBLISHER((*it).mSubscribeFlags) && IS_GROUP_SUBSCRIBED((*it).mSubscribeFlags) shareChannelMenu.addAction(QString::fromUtf8((*it).mGroupName.c_str()), this, SLOT(shareOnChannel()))->setData(QString::fromStdString((*it).mGroupId.toStdString())) ; contextMnu.addMenu(&shareChannelMenu) ;