summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewnotecard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpreviewnotecard.cpp')
-rw-r--r--indra/newview/llpreviewnotecard.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/indra/newview/llpreviewnotecard.cpp b/indra/newview/llpreviewnotecard.cpp
index 29320522d9..ab9cfbf850 100644
--- a/indra/newview/llpreviewnotecard.cpp
+++ b/indra/newview/llpreviewnotecard.cpp
@@ -85,12 +85,8 @@ LLPreviewNotecard::~LLPreviewNotecard()
BOOL LLPreviewNotecard::postBuild()
{
LLViewerTextEditor *ed = getChild<LLViewerTextEditor>("Notecard Editor");
- if (ed)
- {
- ed->setParseHTML(TRUE);
- ed->setNotecardInfo(mItemUUID, mObjectID, getKey());
- ed->makePristine();
- }
+ ed->setNotecardInfo(mItemUUID, mObjectID, getKey());
+ ed->makePristine();
childSetAction("Save", onClickSave, this);
childSetVisible("lock", FALSE);