diff options
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/newview/lloutfitslist.cpp | 7 | 
1 files changed, 6 insertions, 1 deletions
| diff --git a/indra/newview/lloutfitslist.cpp b/indra/newview/lloutfitslist.cpp index 9d8493549d..4ad4cb8d2c 100644 --- a/indra/newview/lloutfitslist.cpp +++ b/indra/newview/lloutfitslist.cpp @@ -1396,7 +1396,12 @@ bool LLOutfitAccordionCtrlTab::handleToolTip(S32 x, S32 y, MASK mask)      {          LLSD params;          params["inv_type"] = LLInventoryType::IT_CATEGORY; -        params["thumbnail_id"] = gInventory.getCategory(mFolderID)->getThumbnailUUID(); +        LLViewerInventoryCategory* cat = gInventory.getCategory(mFolderID); +        if (cat) +        { +            params["thumbnail_id"] = cat->getThumbnailUUID(); +        } +        // else consider returning          params["item_id"] = mFolderID;          LLToolTipMgr::instance().show(LLToolTip::Params() | 
