summaryrefslogtreecommitdiff
path: root/indra/newview/llsidepanelappearance.cpp
diff options
context:
space:
mode:
authorprep@lindenlab.com <prep@lindenlab.com>2013-04-10 16:53:46 -0500
committerprep@lindenlab.com <prep@lindenlab.com>2013-04-10 16:53:46 -0500
commit2798c355c441f8d92a02537eca6e253c8fbf2bc4 (patch)
treeec988e516a63cadc892d2a5ff0ecd4f4d4b7ec1a /indra/newview/llsidepanelappearance.cpp
parent24fa7736dd123429425d91b2b72c3b3b7110b764 (diff)
SH-4035:Added ignore message to notification
Diffstat (limited to 'indra/newview/llsidepanelappearance.cpp')
-rw-r--r--indra/newview/llsidepanelappearance.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/indra/newview/llsidepanelappearance.cpp b/indra/newview/llsidepanelappearance.cpp
index ae6ceabdaa..6d2b643434 100644
--- a/indra/newview/llsidepanelappearance.cpp
+++ b/indra/newview/llsidepanelappearance.cpp
@@ -77,13 +77,11 @@ bool LLSidepanelAppearance::callBackExitWithoutSaveViaBack(const LLSD& notificat
S32 option = LLNotificationsUtil::getSelectedOption(notification, response);
if ( option == 0 )
{
- gSavedSettings.setBOOL("ExitOutfitEditWithoutSave", TRUE);
LLAppearanceMgr::instance().setOutfitDirty( true );
showOutfitsInventoryPanel();
LLAppearanceMgr::getInstance()->wearBaseOutfit();
return true;
}
- gSavedSettings.setBOOL("ExitOutfitEditWithoutSave", FALSE);
return false;
}
@@ -91,13 +89,11 @@ bool LLSidepanelAppearance::callBackExitWithoutSaveViaClose(const LLSD& notifica
{
S32 option = LLNotificationsUtil::getSelectedOption(notification, response);
if ( option == 0 )
- {
- gSavedSettings.setBOOL("ExitOutfitEditWithoutSave", TRUE);
+ {
LLAppearanceMgr::getInstance()->wearBaseOutfit();
mLLFloaterSidePanelContainer->close();
return true;
}
- gSavedSettings.setBOOL("ExitOutfitEditWithoutSave", FALSE);
return false;
}