mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-30 09:56:14 -05:00
use CreatForumMsg when replying from News Feed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2242 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
96caa40895
commit
55c514d850
@ -24,6 +24,8 @@
|
||||
#include "FeedHolder.h"
|
||||
|
||||
#include "rsiface/rsforums.h"
|
||||
#include "gui/forums/CreateForumMsg.h"
|
||||
|
||||
|
||||
#include <iostream>
|
||||
|
||||
@ -76,7 +78,7 @@ void ForumMsgItem::updateItemStatic()
|
||||
if (!(fi.forumFlags & RS_DISTRIB_SUBSCRIBED))
|
||||
{
|
||||
unsubscribeButton->setEnabled(false);
|
||||
replyButton->setEnabled(false);
|
||||
replyButton->setEnabled(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -254,7 +256,10 @@ void ForumMsgItem::replyToPost()
|
||||
#endif
|
||||
if (mParent)
|
||||
{
|
||||
mParent->openMsg(FEEDHOLDER_MSG_FORUM, mForumId, mPostId);
|
||||
//mParent->openMsg(FEEDHOLDER_MSG_FORUM, mForumId, mPostId);
|
||||
CreateForumMsg *cfm = new CreateForumMsg(mForumId, mPostId);
|
||||
cfm->show();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user