More work on accordions, let params do lluiimages like upstream

This commit is contained in:
Inusaito Sayori
2015-09-30 20:05:40 -04:00
parent ed701f9c88
commit bc0709b9c6
4 changed files with 168 additions and 11 deletions

View File

@@ -899,7 +899,11 @@ S32 LLAccordionCtrl::calcExpandedTabHeight(S32 tab_index /* = 0 */, S32 availabl
LLView* LLAccordionCtrl::fromXML(LLXMLNodePtr node, LLView* parent, LLUICtrlFactory* factory)
{
LLAccordionCtrl* ctrl = new LLAccordionCtrl();
ctrl->initFromXML(node, parent);
ctrl->mCommitCallbackRegistrar.pushScope();
ctrl->mEnableCallbackRegistrar.pushScope();
ctrl->initPanelXML(node, parent, factory);
ctrl->mCommitCallbackRegistrar.popScope();
ctrl->mEnableCallbackRegistrar.popScope();
return ctrl;
}