MAINT-4009: Patching the LLTabContainer that was leaking some child views and their associated llimage allocations.
parent
72c11c0e57
commit
e5375795e1
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue