diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-07-14 17:41:17 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-07-14 17:41:17 +0300 |
commit | e0360ee13ac683007210cf13a49ca2c4178207fe (patch) | |
tree | 86c3bd1f5a93aee7edee7c563727a1e68149dd44 /indra/newview | |
parent | 30b1c7542124a05cd46afd172fc6203a0ef6a7c6 (diff) |
SL-17773 Discard changes clears notes instead of setting previous version
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llpanelprofile.cpp | 4 |
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) |