Skip to content
Snippets Groups Projects
Commit e5375795 authored by Stinson Linden's avatar Stinson Linden
Browse files

MAINT-4009: Patching the LLTabContainer that was leaking some child views and...

MAINT-4009: Patching the LLTabContainer that was leaking some child views and their associated llimage allocations.
parent 72c11c0e
No related branches found
No related tags found
No related merge requests found
...@@ -1140,6 +1140,17 @@ void LLTabContainer::addTabPanel(const TabPanelParams& panel) ...@@ -1140,6 +1140,17 @@ void LLTabContainer::addTabPanel(const TabPanelParams& panel)
addChild( btn, 0 ); addChild( btn, 0 );
} }
} }
else
{
if (textbox)
{
LLUICtrl::addChild(textbox, 0);
}
if (btn)
{
LLUICtrl::addChild(btn, 0);
}
}
if (child) if (child)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment