diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-07-27 10:24:53 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-07-27 10:24:53 -0400 |
commit | a3328658725dd12efbb1a9107e4c6f0612772c12 (patch) | |
tree | cc9707083f3cef32a92a481ffbae5b0a7ef92630 /indra/llui/llaccordionctrl.cpp | |
parent | 34ab18d0c2f7de57e42ded0c3d94ee0fec17da28 (diff) | |
parent | d55264bf13520fc7adab347565ee13cc30fc8656 (diff) |
automated merge
Diffstat (limited to 'indra/llui/llaccordionctrl.cpp')
-rw-r--r-- | indra/llui/llaccordionctrl.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/llui/llaccordionctrl.cpp b/indra/llui/llaccordionctrl.cpp index 2bc8ea054a..c3ef734823 100644 --- a/indra/llui/llaccordionctrl.cpp +++ b/indra/llui/llaccordionctrl.cpp @@ -765,6 +765,17 @@ S32 LLAccordionCtrl::notifyParent(const LLSD& info) } return 0; } + else if(str_action == "deselect_current") + { + // Reset selection to the currently selected tab. + if (mSelectedTab) + { + mSelectedTab->setSelected(false); + mSelectedTab = NULL; + return 1; + } + return 0; + } } else if (info.has("scrollToShowRect")) { |