diff options
Diffstat (limited to 'linden/indra/llui/llmultisliderctrl.cpp')
-rw-r--r-- | linden/indra/llui/llmultisliderctrl.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/llui/llmultisliderctrl.cpp b/linden/indra/llui/llmultisliderctrl.cpp index 8bcf9f9..b76c2f6 100644 --- a/linden/indra/llui/llmultisliderctrl.cpp +++ b/linden/indra/llui/llmultisliderctrl.cpp | |||
@@ -132,7 +132,7 @@ LLMultiSliderCtrl::LLMultiSliderCtrl(const std::string& name, const LLRect& rect | |||
132 | &LLLineEditor::prevalidateFloat ); | 132 | &LLLineEditor::prevalidateFloat ); |
133 | mEditor->setFollowsLeft(); | 133 | mEditor->setFollowsLeft(); |
134 | mEditor->setFollowsBottom(); | 134 | mEditor->setFollowsBottom(); |
135 | mEditor->setFocusReceivedCallback( &LLMultiSliderCtrl::onEditorGainFocus ); | 135 | mEditor->setFocusReceivedCallback( &LLMultiSliderCtrl::onEditorGainFocus, this ); |
136 | mEditor->setIgnoreTab(TRUE); | 136 | mEditor->setIgnoreTab(TRUE); |
137 | // don't do this, as selecting the entire text is single clicking in some cases | 137 | // don't do this, as selecting the entire text is single clicking in some cases |
138 | // and double clicking in others | 138 | // and double clicking in others |
@@ -501,6 +501,8 @@ LLXMLNodePtr LLMultiSliderCtrl::getXML(bool save_children) const | |||
501 | { | 501 | { |
502 | LLXMLNodePtr node = LLUICtrl::getXML(); | 502 | LLXMLNodePtr node = LLUICtrl::getXML(); |
503 | 503 | ||
504 | node->setName(LL_MULTI_SLIDER_CTRL_TAG); | ||
505 | |||
504 | node->createChild("show_text", TRUE)->setBoolValue(mShowText); | 506 | node->createChild("show_text", TRUE)->setBoolValue(mShowText); |
505 | 507 | ||
506 | node->createChild("can_edit_text", TRUE)->setBoolValue(mCanEditText); | 508 | node->createChild("can_edit_text", TRUE)->setBoolValue(mCanEditText); |