Make sure we have a panel

Cinders 2013-11-17 12:16:31 -07:00
parent f8b98baa8d
commit ebb55cdd8d
1 changed files with 4 additions and 4 deletions

View File

@ -780,11 +780,11 @@ void FSFloaterPlaceDetails::onOverflowMenuItemClicked(const LLSD& param)
if (panel)
{
panel->createPick(mGlobalPos, mPickPanel);
}
LLRect rect = panel->getRect();
mPickPanel->reshape(rect.getWidth(), rect.getHeight());
mPickPanel->setRect(rect);
LLRect rect = panel->getRect();
mPickPanel->reshape(rect.getWidth(), rect.getHeight());
mPickPanel->setRect(rect);
}
}
else if (item == "add_to_favbar")
{