mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
ee9144c79a
commit
f5880bf655
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user