summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2009-12-14 19:42:54 +0200
committerVadim Savchuk <vsavchuk@productengine.com>2009-12-14 19:42:54 +0200
commit37b039b9fd5d970b297715b9187b60a241e36a3a (patch)
treeb8ca102b0d763020063920926d66fdef12485a56 /indra
parentd06742958c3f28cd62e5752aadc107ff98718512 (diff)
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
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llgroupactions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llgroupactions.cpp b/indra/newview/llgroupactions.cpp
index fdb2b886a6..6ca8c025b1 100644
--- a/indra/newview/llgroupactions.cpp
+++ b/indra/newview/llgroupactions.cpp
@@ -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