mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-02 01:56:50 -04:00
added missing test for subscribed channels in share-on-channel menu
This commit is contained in:
parent
0c3fc05491
commit
299d0b6d75
1 changed files with 1 additions and 1 deletions
|
@ -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) ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue