summaryrefslogtreecommitdiff
path: root/indra/llui/llaccordionctrl.cpp
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-07-27 10:24:53 -0400
committerLoren Shih <seraph@lindenlab.com>2010-07-27 10:24:53 -0400
commita3328658725dd12efbb1a9107e4c6f0612772c12 (patch)
treecc9707083f3cef32a92a481ffbae5b0a7ef92630 /indra/llui/llaccordionctrl.cpp
parent34ab18d0c2f7de57e42ded0c3d94ee0fec17da28 (diff)
parentd55264bf13520fc7adab347565ee13cc30fc8656 (diff)
automated merge
Diffstat (limited to 'indra/llui/llaccordionctrl.cpp')
-rw-r--r--indra/llui/llaccordionctrl.cpp11
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"))
{