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:
defnax 2010-02-08 20:43:23 +00:00
parent 96caa40895
commit 55c514d850

View File

@ -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();
}
}