Fix crash signature 230

This commit is contained in:
Inusaito Sayori
2014-12-30 14:42:13 -05:00
parent de28034c20
commit d03b03ac93

View File

@@ -262,15 +262,13 @@ void LLPreview::draw()
{
mDirty = FALSE;
const LLViewerInventoryItem *item = getItem();
if (item)
{
refreshFromItem(item);
}
refreshFromItem(item);
}
}
void LLPreview::refreshFromItem(const LLInventoryItem* item)
{
if (!item) return;
setTitle(llformat("%s: %s",getTitleName(),item->getName().c_str()));
childSetText("desc",item->getDescription());