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
meow-7.2.2
Vadim Savchuk 2009-12-14 19:42:54 +02:00
parent d06742958c
commit 37b039b9fd
1 changed files with 2 additions and 2 deletions

View File

@ -197,12 +197,12 @@ void LLGroupActions::activate(const LLUUID& group_id)
gAgent.sendReliableMessage();
}
bool isGroupUIVisible()
static bool isGroupUIVisible()
{
LLPanel* panel = LLSideTray::getInstance()->findChild<LLPanel>("panel_group_info_sidetray");
if(!panel)
return false;
return panel->getVisible();
return panel->isInVisibleChain();
}
// static