From 6b59d55230207b391d8a698f170cfe7f0620e025 Mon Sep 17 00:00:00 2001 From: andreykproductengine Date: Fri, 6 Jan 2017 01:25:15 +0200 Subject: MAINT-7028 Fixes scrambling of Outfit Order in Appearance Panel --- indra/newview/llpaneloutfitsinventory.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'indra') 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; } -- cgit v1.2.3