diff options
author | Jonathan Yap <jhwelch@gmail.com> | 2014-12-03 06:35:46 -0500 |
---|---|---|
committer | Jonathan Yap <jhwelch@gmail.com> | 2014-12-03 06:35:46 -0500 |
commit | cc22efa4c0d6b06bac6f49b6243df7726f89c7c4 (patch) | |
tree | 4ab1120c671cfb5953ee7e4f362df2da0ea319d9 /indra/newview/llfloatersaveprefpreset.cpp | |
parent | ade3953e380d9211ad6d332b9b27fa23e57a7d81 (diff) |
STORM-2082 Remove Apply button.
Add new control variable to track which preset is active. Save settings
to active preset when clicking on Ok button.
Initial work to make pulldown operational. Still to do: add pretty icon for current preset.
Notifications do not appear when called from this panel.
Diffstat (limited to 'indra/newview/llfloatersaveprefpreset.cpp')
-rw-r--r-- | indra/newview/llfloatersaveprefpreset.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llfloatersaveprefpreset.cpp b/indra/newview/llfloatersaveprefpreset.cpp index 3148978778..a5fc356c36 100644 --- a/indra/newview/llfloatersaveprefpreset.cpp +++ b/indra/newview/llfloatersaveprefpreset.cpp @@ -85,6 +85,8 @@ void LLFloaterSavePrefPreset::onBtnSave() LLSD args; args["NAME"] = name; LLNotificationsUtil::add("PresetSaved", args); + + closeFloater(); } void LLFloaterSavePrefPreset::onPresetsListChange() |