summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/llsidepanelappearance.cpp6
-rw-r--r--indra/newview/skins/default/xui/en/notifications.xml7
2 files changed, 5 insertions, 8 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;
}
diff --git a/indra/newview/skins/default/xui/en/notifications.xml b/indra/newview/skins/default/xui/en/notifications.xml
index 2170283af2..1ff63c6def 100644
--- a/indra/newview/skins/default/xui/en/notifications.xml
+++ b/indra/newview/skins/default/xui/en/notifications.xml
@@ -10039,9 +10039,10 @@ Cannot create large prims that intersect other players. Please re-try when othe
Closing this window will discard any changes you have made.
<tag>confirm</tag>
<usetemplate
- name="okcancelbuttons"
+ name="okcancelignore"
notext="Cancel"
- yestext="OK"/>
+ yestext="OK"
+ ignoretext="Don't show me this again."/>
</notification>
-
+
</notifications>