From eb0477f9d75ef297bed1e1967798cb6ece424af9 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Thu, 17 Jan 2019 04:41:55 -0500 Subject: [PATCH] Fix profile notes being white and having a weird visual glitch --- indra/newview/llpanelavatar.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/indra/newview/llpanelavatar.cpp b/indra/newview/llpanelavatar.cpp index a689b07af..e20ececab 100644 --- a/indra/newview/llpanelavatar.cpp +++ b/indra/newview/llpanelavatar.cpp @@ -1481,8 +1481,9 @@ void LLPanelAvatar::processProperties(void* data, EAvatarProcessorType type) const LLAvatarNotes* pAvatarNotes = static_cast( data ); if (pAvatarNotes && (mAvatarID == pAvatarNotes->target_id) && (pAvatarNotes->target_id != LLUUID::null)) { - childSetValue("notes edit", pAvatarNotes->notes); - childSetEnabled("notes edit", true); + auto notes = getChildView("notes edit"); + notes->setEnabled("notes edit", true); + notes->setValue("notes edit", pAvatarNotes->notes); mHaveNotes = true; mLastNotes = pAvatarNotes->notes; }