From c1e362322b6645a32410a228e5d6de1b4f0fb9bd Mon Sep 17 00:00:00 2001 From: Yuri Chebotarev Date: Fri, 27 Nov 2009 14:04:20 +0200 Subject: fix for normal EXT-1713 Nearby Chat: Objects have tooltips (???)(???) --HG-- branch : product-engine --- indra/newview/llchatitemscontainerctrl.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/indra/newview/llchatitemscontainerctrl.cpp b/indra/newview/llchatitemscontainerctrl.cpp index 4acb9fd480..efdaff3f6a 100644 --- a/indra/newview/llchatitemscontainerctrl.cpp +++ b/indra/newview/llchatitemscontainerctrl.cpp @@ -293,7 +293,12 @@ void LLNearbyChatToastPanel::draw() { if(mIsDirty) { - getChild("avatar_icon", false)->setValue(mFromID); + LLAvatarIconCtrl* icon = getChild("avatar_icon", false); + if(icon) + { + icon->setDrawTooltip(mSourceType == CHAT_SOURCE_AGENT); + icon->setValue(mFromID); + } mIsDirty = false; } LLToastPanelBase::draw(); -- cgit v1.2.3