From 5c4a01acd1892a1ff862e6dc24d3f8ce988c39b5 Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Sun, 15 May 2011 13:03:40 -0700 Subject: Fixed avatar profile and group charters not displaying in search --- linden/indra/newview/llpanelavatar.cpp | 3 +++ linden/indra/newview/llpanelgroupgeneral.cpp | 1 + 2 files changed, 4 insertions(+) (limited to 'linden') diff --git a/linden/indra/newview/llpanelavatar.cpp b/linden/indra/newview/llpanelavatar.cpp index c261a18..4f041f5 100644 --- a/linden/indra/newview/llpanelavatar.cpp +++ b/linden/indra/newview/llpanelavatar.cpp @@ -1992,6 +1992,7 @@ void LLPanelAvatar::processAvatarPropertiesReply(LLMessageSystem *msg, void**) LLTextEditor* about_field = self->mPanelSecondLife->getChild("about"); if (about_field) { + about_field->clear(); if (self->mAllowEdit && (self->mAvatarID == agent_id)) { about_field->setText(about_text); @@ -2011,8 +2012,10 @@ void LLPanelAvatar::processAvatarPropertiesReply(LLMessageSystem *msg, void**) about_field = self->mPanelFirstLife->getChild("about"); if (about_field) { + about_field->clear(); if (self->mAllowEdit && (self->mAvatarID == agent_id)) { + about_field->setText(fl_about_text); } else { diff --git a/linden/indra/newview/llpanelgroupgeneral.cpp b/linden/indra/newview/llpanelgroupgeneral.cpp index 8e61c60..8c522cc 100644 --- a/linden/indra/newview/llpanelgroupgeneral.cpp +++ b/linden/indra/newview/llpanelgroupgeneral.cpp @@ -814,6 +814,7 @@ void LLPanelGroupGeneral::update(LLGroupChange gc) if (mEditCharter) { + mEditCharter->clear(); if (mAllowEdit && can_change_ident) { mEditCharter->setText(gdatap->mCharter); -- cgit v1.1