diff options
author | maxim_productengine <mnikolenko@productengine.com> | 2019-11-08 17:31:59 +0200 |
---|---|---|
committer | maxim_productengine <mnikolenko@productengine.com> | 2019-11-08 17:31:59 +0200 |
commit | dd8128114c8cfe812e1dd8f2cfd449a4050d9aea (patch) | |
tree | f80f190fa2821b185728668fce960849ad06d609 /indra/newview/llfloaterdeleteprefpreset.cpp | |
parent | bf5ee32838b9d4c53ff1ab709e2935d8d0b4ec0b (diff) |
SL-12186 WIP Minor updates for 'Camera controls' and 'Save preset' floaters
Diffstat (limited to 'indra/newview/llfloaterdeleteprefpreset.cpp')
-rw-r--r-- | indra/newview/llfloaterdeleteprefpreset.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llfloaterdeleteprefpreset.cpp b/indra/newview/llfloaterdeleteprefpreset.cpp index bd62849b42..0765756b43 100644 --- a/indra/newview/llfloaterdeleteprefpreset.cpp +++ b/indra/newview/llfloaterdeleteprefpreset.cpp @@ -82,6 +82,13 @@ void LLFloaterDeletePrefPreset::onBtnDelete() args["NAME"] = name; LLNotificationsUtil::add("PresetNotDeleted", args); } + else if (mSubdirectory == PRESETS_CAMERA) + { + if (gSavedSettings.getString("PresetCameraActive") == name) + { + gSavedSettings.setString("PresetCameraActive", ""); + } + } closeFloater(); } |