diff options
| author | Jonathan Yap <jhwelch@gmail.com> | 2014-12-01 20:36:09 -0500 |
|---|---|---|
| committer | Jonathan Yap <jhwelch@gmail.com> | 2014-12-01 20:36:09 -0500 |
| commit | 77b9793c2eb357184aedee85000c90c4b1c3e574 (patch) | |
| tree | fc8738100e78d0d1926f4f9e4bc25f4d6fdaaa0f /indra/newview/llfloatersaveprefpreset.cpp | |
| parent | 7360f046634d013fec1e9b37c60840a83b470ce1 (diff) | |
STORM-2082 Improve text in notifications.
Disable delete button when thre is nothing to be deleted.
Diffstat (limited to 'indra/newview/llfloatersaveprefpreset.cpp')
| -rw-r--r-- | indra/newview/llfloatersaveprefpreset.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llfloatersaveprefpreset.cpp b/indra/newview/llfloatersaveprefpreset.cpp index 3148978778..31598a8d12 100644 --- a/indra/newview/llfloatersaveprefpreset.cpp +++ b/indra/newview/llfloatersaveprefpreset.cpp @@ -82,7 +82,11 @@ void LLFloaterSavePrefPreset::onBtnSave() LLPresetsManager::getInstance()->savePreset(mSubdirectory, name); + std::string preset = mSubdirectory; + preset[0] = std::toupper(preset[0]); + LLSD args; + args["TYPE"] = preset; args["NAME"] = name; LLNotificationsUtil::add("PresetSaved", args); } |
