mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
enabled disabling autodownload for channel admin (patch from asamK)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5075 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
fb47f06d24
commit
2cd1df7484
@ -483,20 +483,20 @@ void ChannelFeed::updateChannelMsgs()
|
||||
unsubscribeButton->setEnabled(false);
|
||||
unsubscribeButton->hide();
|
||||
actionsetAllAsRead->setEnabled(false);
|
||||
actionEnable_Auto_Download->setEnabled(false);
|
||||
}
|
||||
|
||||
if (ci.channelFlags & RS_DISTRIB_PUBLISH) {
|
||||
postButton->setEnabled(true);
|
||||
actionEnable_Auto_Download->setEnabled(false);
|
||||
} else {
|
||||
postButton->setEnabled(false);
|
||||
}
|
||||
|
||||
if(!(ci.channelFlags & RS_DISTRIB_PUBLISH) &&
|
||||
(ci.channelFlags & RS_DISTRIB_SUBSCRIBED))
|
||||
actionEnable_Auto_Download->setEnabled(true);
|
||||
|
||||
if (!(ci.channelFlags & RS_DISTRIB_ADMIN) &&
|
||||
(ci.channelFlags & RS_DISTRIB_SUBSCRIBED)) {
|
||||
actionEnable_Auto_Download->setEnabled(true);
|
||||
} else {
|
||||
actionEnable_Auto_Download->setEnabled(false);
|
||||
}
|
||||
|
||||
std::list<ChannelMsgSummary> msgs;
|
||||
std::list<ChannelMsgSummary>::iterator it;
|
||||
|
Loading…
Reference in New Issue
Block a user