summaryrefslogtreecommitdiff
path: root/indra/newview/llpaneloutfitsinventory.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2009-11-24 14:37:48 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2009-11-24 14:37:48 -0500
commitfc6cfc27bec61ac1f66c1304cc7b54f19157584e (patch)
tree1a4c6e265126d2be0d60ef70b1ebe54d50aade8f /indra/newview/llpaneloutfitsinventory.cpp
parente1cd91de4e9f3847f185d8b2ffc5ba3a545340fb (diff)
Fix for EXT-2571 to accommodate accordion panels
--HG-- branch : avatar-pipeline
Diffstat (limited to 'indra/newview/llpaneloutfitsinventory.cpp')
-rw-r--r--indra/newview/llpaneloutfitsinventory.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llpaneloutfitsinventory.cpp b/indra/newview/llpaneloutfitsinventory.cpp
index 2550962d76..e66a4440e9 100644
--- a/indra/newview/llpaneloutfitsinventory.cpp
+++ b/indra/newview/llpaneloutfitsinventory.cpp
@@ -398,3 +398,14 @@ LLInventoryPanel* LLPanelOutfitsInventory::getActivePanel()
return mActivePanel;
}
+bool LLPanelOutfitsInventory::isAccordionPanel(LLInventoryPanel *panel)
+{
+ for(accordionpanels_vec_t::iterator it = mAccordionPanels.begin();
+ it != mAccordionPanels.end();
+ ++it)
+ {
+ if (*it == panel)
+ return true;
+ }
+ return false;
+}