summaryrefslogtreecommitdiff
path: root/indra/newview/llpaneloutfitsinventory.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2017-10-18 14:44:30 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2017-10-18 14:44:30 +0300
commitcf8283bd04dee31c7825cf4c063a04de6c9c12b0 (patch)
tree96074a5ec2da16fd031edda58f1719dab4c7d91b /indra/newview/llpaneloutfitsinventory.cpp
parentc0492e5448ed7bb3265af2f0e5385faaeab85ba5 (diff)
MAINT-7910 Appearance floater's chosen tab is not remembered between sessions.
Diffstat (limited to 'indra/newview/llpaneloutfitsinventory.cpp')
-rw-r--r--indra/newview/llpaneloutfitsinventory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpaneloutfitsinventory.cpp b/indra/newview/llpaneloutfitsinventory.cpp
index 007ab4dd63..8019335f97 100644
--- a/indra/newview/llpaneloutfitsinventory.cpp
+++ b/indra/newview/llpaneloutfitsinventory.cpp
@@ -68,7 +68,7 @@ LLPanelOutfitsInventory::LLPanelOutfitsInventory() :
LLPanelOutfitsInventory::~LLPanelOutfitsInventory()
{
- if (mAppearanceTabs)
+ if (mAppearanceTabs && mInitialized)
{
gSavedSettings.setS32("LastAppearanceTab", mAppearanceTabs->getCurrentPanelIndex());
}