summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/llpanelprofile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llpanelprofile.cpp b/indra/newview/llpanelprofile.cpp
index d531bee79f..2b6be5f5fe 100644
--- a/indra/newview/llpanelprofile.cpp
+++ b/indra/newview/llpanelprofile.cpp
@@ -2472,7 +2472,7 @@ void LLPanelProfileNotes::onDiscardNotesChanges()
void LLPanelProfileNotes::processProperties(LLAvatarNotes* avatar_notes)
{
- mNotesEditor->setValue(avatar_notes->notes);
+ setNotesText(avatar_notes->notes);
mNotesEditor->setEnabled(TRUE);
setLoaded();
}
@@ -2480,7 +2480,7 @@ void LLPanelProfileNotes::processProperties(LLAvatarNotes* avatar_notes)
void LLPanelProfileNotes::resetData()
{
resetLoading();
- mNotesEditor->setValue(LLStringUtil::null);
+ setNotesText(std::string());
}
void LLPanelProfileNotes::setAvatarId(const LLUUID& avatar_id)