summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2018-12-03 16:14:22 +0200
committermaxim_productengine <mnikolenko@productengine.com>2018-12-03 16:14:22 +0200
commit095c7eb0af14b600b5d41a3f72414da399a003a3 (patch)
treea128be7096c44921d71a3df3d1214372a9b024ca
parentd9983255569eb5c49e8a414b4b8e8f56f9d33533 (diff)
SL-10150 'Preset in use' shows last used preset name after deleting it
-rw-r--r--indra/newview/llfloaterpreference.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp
index d63ee1b367..92c9d1ae59 100644
--- a/indra/newview/llfloaterpreference.cpp
+++ b/indra/newview/llfloaterpreference.cpp
@@ -2600,6 +2600,10 @@ void LLPanelPreferenceGraphics::onPresetsListChange()
{
instance->saveSettings(); //make cancel work correctly after changing the preset
}
+ else
+ {
+ instance->saveGraphicsPreset(std::string());
+ }
}
void LLPanelPreferenceGraphics::setPresetText()