Fixed GUI - to allow people to post to subscribed Topics.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7945 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2015-02-16 11:05:33 +00:00
parent ee9144c79a
commit f5880bf655

View File

@ -300,15 +300,7 @@ void PostedListWidget::loadVoteData(const uint32_t &/*token*/)
void PostedListWidget::insertPostedDetails(const RsPostedGroup &group)
{
if (group.mMeta.mSubscribeFlags & GXS_SERV::GROUP_SUBSCRIBE_PUBLISH)
{
mStateHelper->setWidgetEnabled(ui->submitPostButton, true);
}
else
{
mStateHelper->setWidgetEnabled(ui->submitPostButton, false);
}
mStateHelper->setWidgetEnabled(ui->submitPostButton, IS_GROUP_SUBSCRIBED(group.mMeta.mSubscribeFlags));
ui->subscribeToolButton->setSubscribed(IS_GROUP_SUBSCRIBED(group.mMeta.mSubscribeFlags));
}