summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2017-01-06 01:25:15 +0200
committerandreykproductengine <andreykproductengine@lindenlab.com>2017-01-06 01:25:15 +0200
commit6b59d55230207b391d8a698f170cfe7f0620e025 (patch)
treecade009ab340c07b9de2f29d81ed6b0cb3571357 /indra/newview
parent4fc012fbfae8975c2240c70c2c3311263ceee5ac (diff)
MAINT-7028 Fixes scrambling of Outfit Order in Appearance Panel
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llpaneloutfitsinventory.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/newview/llpaneloutfitsinventory.cpp b/indra/newview/llpaneloutfitsinventory.cpp
index 3a35c49007..007ab4dd63 100644
--- a/indra/newview/llpaneloutfitsinventory.cpp
+++ b/indra/newview/llpaneloutfitsinventory.cpp
@@ -92,9 +92,6 @@ BOOL LLPanelOutfitsInventory::postBuild()
mSaveComboBtn.reset(new LLSaveOutfitComboBtn(this, true));
- if (!mAppearanceTabs->selectTab(gSavedSettings.getS32("LastAppearanceTab")))
- mAppearanceTabs->selectFirstTab();
-
return TRUE;
}
@@ -110,6 +107,10 @@ void LLPanelOutfitsInventory::onOpen(const LLSD& key)
panel_appearance->fetchInventory();
panel_appearance->refreshCurrentOutfitName();
}
+
+ if (!mAppearanceTabs->selectTab(gSavedSettings.getS32("LastAppearanceTab")))
+ mAppearanceTabs->selectFirstTab();
+
mInitialized = true;
}