summaryrefslogtreecommitdiff
path: root/indra/newview/llpresetsmanager.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2016-03-23 11:50:39 -0400
committerOz Linden <oz@lindenlab.com>2016-03-23 11:50:39 -0400
commit518f92126f18d5f4b8ee8eb287500fe5a7e17c99 (patch)
tree5d58fc3ba9ec7e0f6097b0644ec65fbbebd9cfbc /indra/newview/llpresetsmanager.cpp
parent7bbf2ec9f82c9818d02493c7b877e68ca97261fc (diff)
improve settings error log, and make type conversion methods static
Diffstat (limited to 'indra/newview/llpresetsmanager.cpp')
-rw-r--r--indra/newview/llpresetsmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpresetsmanager.cpp b/indra/newview/llpresetsmanager.cpp
index 152001eb46..d95546f11d 100644
--- a/indra/newview/llpresetsmanager.cpp
+++ b/indra/newview/llpresetsmanager.cpp
@@ -180,7 +180,7 @@ bool LLPresetsManager::savePreset(const std::string& subdirectory, std::string n
std::string ctrl_name = *it;
LLControlVariable* ctrl = gSavedSettings.getControl(ctrl_name).get();
std::string comment = ctrl->getComment();
- std::string type = gSavedSettings.typeEnumToString(ctrl->type());
+ std::string type = LLControlGroup::typeEnumToString(ctrl->type());
LLSD value = ctrl->getValue();
paramsData[ctrl_name]["Comment"] = comment;