diff options
| author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-07-27 10:41:53 +0100 |
|---|---|---|
| committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-07-27 10:41:53 +0100 |
| commit | e1effcb285c8072601e5148101293e6702128fdd (patch) | |
| tree | 044c1539dc22dce79b92bd4d54e397b03784087f /indra/llui/llaccordionctrl.cpp | |
| parent | f63abd51681f1682f6086d49b7f823f162338253 (diff) | |
| parent | d6a13498b75b22abb79cfddc9ff0ad5324546d5d (diff) | |
merge from PE's viewer-release
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")) { |
