MAINT-4009: Patching the LLTabContainer that was leaking some child views and their associated llimage allocations.

meow-7.2.2
Stinson Linden 2014-04-30 23:10:35 +01:00
parent 72c11c0e57
commit e5375795e1
1 changed files with 11 additions and 0 deletions

View File

@ -1140,6 +1140,17 @@ void LLTabContainer::addTabPanel(const TabPanelParams& panel)
addChild( btn, 0 );
}
}
else
{
if (textbox)
{
LLUICtrl::addChild(textbox, 0);
}
if (btn)
{
LLUICtrl::addChild(btn, 0);
}
}
if (child)
{