diff options
author | Jacek Antonelli | 2010-01-26 13:02:07 -0600 |
---|---|---|
committer | Jacek Antonelli | 2010-01-26 14:25:07 -0600 |
commit | 6e1e243da8c06ddd6847576c55e134d72ef42491 (patch) | |
tree | 3cd1bfbd60d3b92323717afda3fa5a821cf4066c /linden/indra/llui/llmultisliderctrl.cpp | |
parent | ChangeLog entry: Several changes to work better on 64bit Linux. (diff) | |
parent | SNOW-413 Potential null pointer exception in multi-slider control (diff) | |
download | meta-impy-6e1e243da8c06ddd6847576c55e134d72ef42491.zip meta-impy-6e1e243da8c06ddd6847576c55e134d72ef42491.tar.gz meta-impy-6e1e243da8c06ddd6847576c55e134d72ef42491.tar.bz2 meta-impy-6e1e243da8c06ddd6847576c55e134d72ef42491.tar.xz |
Merged bug fixes by Mm Alder and Admiral Admiral.
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); |