Skip to content
Snippets Groups Projects
Commit 37b039b9 authored by Vadim Savchuk's avatar Vadim Savchuk
Browse files

Fixed normal priority bug EXT-2002 ([BSI] Side Tray opened on it's own when...

Fixed normal priority bug EXT-2002 ([BSI] Side Tray opened on it's own when receiving group notice).
The check for group info panel visisbility was wrong (returned true even if a parent was invisible).

--HG--
branch : product-engine
parent d0674295
No related branches found
No related tags found
No related merge requests found
...@@ -197,12 +197,12 @@ void LLGroupActions::activate(const LLUUID& group_id) ...@@ -197,12 +197,12 @@ void LLGroupActions::activate(const LLUUID& group_id)
gAgent.sendReliableMessage(); gAgent.sendReliableMessage();
} }
bool isGroupUIVisible() static bool isGroupUIVisible()
{ {
LLPanel* panel = LLSideTray::getInstance()->findChild<LLPanel>("panel_group_info_sidetray"); LLPanel* panel = LLSideTray::getInstance()->findChild<LLPanel>("panel_group_info_sidetray");
if(!panel) if(!panel)
return false; return false;
return panel->getVisible(); return panel->isInVisibleChain();
} }
// static // static
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment