diff options
author | Rider Linden <rider@lindenlab.com> | 2019-01-02 17:10:15 -0800 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2019-01-02 17:10:15 -0800 |
commit | d607d81dba25dfe7dd1ecdf123af656ca939924f (patch) | |
tree | 94f45fac6cd13c4677e20be0ada48a0e7985740a /indra/llui/llmultislider.cpp | |
parent | 5fe626afabd2857980e8011ceb6081f9e9f108c7 (diff) |
SL-10279: Temp fix for stale estate info when editing parcel environment.
Diffstat (limited to 'indra/llui/llmultislider.cpp')
-rw-r--r-- | indra/llui/llmultislider.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/indra/llui/llmultislider.cpp b/indra/llui/llmultislider.cpp index f30ce28b9d..61e8bdd38c 100644 --- a/indra/llui/llmultislider.cpp +++ b/indra/llui/llmultislider.cpp @@ -315,6 +315,21 @@ LLRect LLMultiSlider::getSliderThumbRect(const std::string& name) const return LLRect(); } +void LLMultiSlider::setSliderThumbImage(const std::string &name) +{ + if (!name.empty()) + { + mThumbImagep = LLUI::getUIImage(name); + } + else + clearSliderThumbImage(); +} + +void LLMultiSlider::clearSliderThumbImage() +{ + mThumbImagep = NULL; +} + void LLMultiSlider::resetCurSlider() { mCurSlider = LLStringUtil::null; |