summaryrefslogtreecommitdiff
path: root/indra/newview/llsidetray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llsidetray.cpp')
-rw-r--r--indra/newview/llsidetray.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llsidetray.cpp b/indra/newview/llsidetray.cpp
index 43a3d10634..32f899aa99 100644
--- a/indra/newview/llsidetray.cpp
+++ b/indra/newview/llsidetray.cpp
@@ -693,7 +693,7 @@ LLPanel* LLSideTray::getPanel (const std::string& panel_name)
LLPanel* LLSideTray::getActivePanel()
{
- if (mActiveTab)
+ if (mActiveTab && !mCollapsed)
{
return mActiveTab->getPanel();
}