diff options
author | AndreyL ProductEngine <alihatskiy@productengine.com> | 2017-01-10 18:15:12 +0200 |
---|---|---|
committer | AndreyL ProductEngine <alihatskiy@productengine.com> | 2017-01-10 18:15:12 +0200 |
commit | 13f8f5dd3060388ee1814246722bba17ccea62b4 (patch) | |
tree | 3698942b27174d562685b73df256788cdf3777ec /indra/newview/llpaneloutfitsinventory.cpp | |
parent | f93b9d70bdf46df3a87976800c4d29af96370415 (diff) | |
parent | b65e54d1028a0cfa42589d7dc590384ceedf5cac (diff) |
Merged in lindenlab/viewer-lynx
Diffstat (limited to 'indra/newview/llpaneloutfitsinventory.cpp')
-rw-r--r-- | indra/newview/llpaneloutfitsinventory.cpp | 7 |
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; } |