Fix profile notes being white and having a weird visual glitch

This commit is contained in:
Lirusaito
2019-01-17 04:41:55 -05:00
parent 5fa50192a7
commit eb0477f9d7

View File

@@ -1481,8 +1481,9 @@ void LLPanelAvatar::processProperties(void* data, EAvatarProcessorType type)
const LLAvatarNotes* pAvatarNotes = static_cast<const LLAvatarNotes*>( 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;
}