Fixed infinite loop into an eventual stack heap overflow

meow-7.2.2
kadah 2011-02-14 12:33:30 -08:00
parent 364d196e58
commit e4f3d47551
1 changed files with 2 additions and 2 deletions

View File

@ -80,14 +80,14 @@ void LLIMFloaterContainer::onOpen(const LLSD& key)
if (gSavedSettings.getBOOL("ChatHistoryTornOff"))
{
// add then remove to set up relationship for re-attach
addFloater(floater, FALSE);
LLMultiFloater::showFloater(floater);
removeFloater(floater);
// reparent to floater view
gFloaterView->addChild(floater);
}
else
{
addFloater(floater, FALSE);
LLMultiFloater::showFloater(floater);
}
}