diff options
| author | Vadim Savchuk <vsavchuk@productengine.com> | 2010-07-26 15:16:21 +0300 |
|---|---|---|
| committer | Vadim Savchuk <vsavchuk@productengine.com> | 2010-07-26 15:16:21 +0300 |
| commit | 5224e3d217cfb43670a88063b612e92d217a65aa (patch) | |
| tree | 846445e34461bd6190bb16c4f8e965adbca3e220 /indra/llui/llaccordionctrl.cpp | |
| parent | 27e17344842bc3986fde39473effd39999b02a2c (diff) | |
| parent | bdacad23bbc01118592c8656ae7bd58356d26ed9 (diff) | |
merge
--HG--
branch : product-engine
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")) { |
