Skip to content
Snippets Groups Projects
Commit cf8283bd authored by Mnikolenko Productengine's avatar Mnikolenko Productengine
Browse files

MAINT-7910 Appearance floater's chosen tab is not remembered between sessions.

parent c0492e54
No related branches found
No related tags found
No related merge requests found
...@@ -68,7 +68,7 @@ LLPanelOutfitsInventory::LLPanelOutfitsInventory() : ...@@ -68,7 +68,7 @@ LLPanelOutfitsInventory::LLPanelOutfitsInventory() :
LLPanelOutfitsInventory::~LLPanelOutfitsInventory() LLPanelOutfitsInventory::~LLPanelOutfitsInventory()
{ {
if (mAppearanceTabs) if (mAppearanceTabs && mInitialized)
{ {
gSavedSettings.setS32("LastAppearanceTab", mAppearanceTabs->getCurrentPanelIndex()); gSavedSettings.setS32("LastAppearanceTab", mAppearanceTabs->getCurrentPanelIndex());
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment