diff options
| author | Yuri Chebotarev <ychebotarev@productengine.com> | 2009-11-27 14:04:20 +0200 | 
|---|---|---|
| committer | Yuri Chebotarev <ychebotarev@productengine.com> | 2009-11-27 14:04:20 +0200 | 
| commit | c1e362322b6645a32410a228e5d6de1b4f0fb9bd (patch) | |
| tree | 5f1f67bc7c6da1acd2bbf3a59cdd709c6c6644ed /indra | |
| parent | 51a7388d683e89e9ee5ef06fd16a5bc02f5c7d94 (diff) | |
fix for normal EXT-1713 Nearby Chat: Objects have tooltips (???)(???)
--HG--
branch : product-engine
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/newview/llchatitemscontainerctrl.cpp | 7 | 
1 files changed, 6 insertions, 1 deletions
| 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<LLAvatarIconCtrl>("avatar_icon", false)->setValue(mFromID); +		LLAvatarIconCtrl* icon = getChild<LLAvatarIconCtrl>("avatar_icon", false); +		if(icon) +		{ +			icon->setDrawTooltip(mSourceType == CHAT_SOURCE_AGENT); +			icon->setValue(mFromID); +		}  		mIsDirty = false;  	}  	LLToastPanelBase::draw(); | 
