diff --git a/indra/newview/llpanelprofile.cpp b/indra/newview/llpanelprofile.cpp index d531bee79f00654f569c546dd12b5d2e07ebe54d..2b6be5f5fe85e3d2384ff972607f6d728a8e5ef5 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)