summaryrefslogtreecommitdiff
path: root/indra/newview/llsidepanelappearance.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-09-16 21:24:09 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-09-16 21:24:09 +0100
commit0efca82b5e7087151cb12e4db151af239587f3e4 (patch)
tree4d9e3770c05b922e21f48ac0cc95a8f2e02b89cd /indra/newview/llsidepanelappearance.cpp
parent82b91b1343671a7568a1c637cce6c1f9ea5a7090 (diff)
parentc331607d97569be05f5f61abc93c6eac67ac070f (diff)
merge
Diffstat (limited to 'indra/newview/llsidepanelappearance.cpp')
-rw-r--r--indra/newview/llsidepanelappearance.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llsidepanelappearance.cpp b/indra/newview/llsidepanelappearance.cpp
index 7206e4fcaf..a3c6a7b6f1 100644
--- a/indra/newview/llsidepanelappearance.cpp
+++ b/indra/newview/llsidepanelappearance.cpp
@@ -286,6 +286,8 @@ void LLSidepanelAppearance::showOutfitsInventoryPanel()
void LLSidepanelAppearance::showOutfitEditPanel()
{
+ if (mOutfitEdit && mOutfitEdit->getVisible()) return;
+
// Accordion's state must be reset in all cases except the one when user
// is returning back to the mOutfitEdit panel from the mEditWearable panel.
// The simplest way to control this is to check the visibility state of the mEditWearable