Skip to content
Snippets Groups Projects
Commit 4e42d834 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix crash

parent 38f05ada
No related branches found
No related tags found
No related merge requests found
...@@ -1423,7 +1423,7 @@ void LLInventoryGallery::onFocusReceived() ...@@ -1423,7 +1423,7 @@ void LLInventoryGallery::onFocusReceived()
LLInventoryGalleryItem* focus_item = NULL; LLInventoryGalleryItem* focus_item = NULL;
for (const LLUUID& id : mSelectedItemIDs) for (const LLUUID& id : mSelectedItemIDs)
{ {
if (mItemMap[id]) if (mItemMap[id] && !mItemMap[id]->isHidden())
{ {
focus_item = mItemMap[id]; focus_item = mItemMap[id];
focus_item->setSelected(true); focus_item->setSelected(true);
......
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