diff options
| -rwxr-xr-x | indra/newview/llchatitemscontainerctrl.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/indra/newview/llchatitemscontainerctrl.cpp b/indra/newview/llchatitemscontainerctrl.cpp index a1a9463d43..46fd7996d4 100755 --- a/indra/newview/llchatitemscontainerctrl.cpp +++ b/indra/newview/llchatitemscontainerctrl.cpp @@ -323,12 +323,12 @@ BOOL	LLFloaterIMNearbyChatToastPanel::handleMouseUp	(S32 x, S32 y, MASK mask)  			return TRUE;  		else  		{ -			(LLFloaterReg::getTypedInstance<LLFloaterIMNearbyChat>("nearby_chat"))->showHistory(); +			LLFloaterReg::toggleInstanceOrBringToFront("nearby_chat");  			return FALSE;  		}  	} -	(LLFloaterReg::getTypedInstance<LLFloaterIMNearbyChat>("nearby_chat"))->showHistory(); +	LLFloaterReg::toggleInstanceOrBringToFront("nearby_chat");  	return LLPanel::handleMouseUp(x,y,mask);  } | 
