diff options
| -rw-r--r-- | indra/newview/llgroupactions.cpp | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/indra/newview/llgroupactions.cpp b/indra/newview/llgroupactions.cpp index a78a0a43b4..d6e2bb0445 100644 --- a/indra/newview/llgroupactions.cpp +++ b/indra/newview/llgroupactions.cpp @@ -232,7 +232,9 @@ void LLGroupActions::activate(const LLUUID& group_id)  static bool isGroupUIVisible()  { -	LLPanel* panel = LLSideTray::getInstance()->findChild<LLPanel>("panel_group_info_sidetray"); +	static LLPanel* panel = 0; +	if(!panel) +		panel = LLSideTray::getInstance()->findChild<LLPanel>("panel_group_info_sidetray");  	if(!panel)  		return false;  	return panel->isInVisibleChain(); | 
