summaryrefslogtreecommitdiff
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
parent24fa7736dd123429425d91b2b72c3b3b7110b764 (diff)
SH-4035:Added ignore message to notification
-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>