diff options
Diffstat (limited to 'indra/newview/llpanelmaininventory.cpp')
-rw-r--r-- | indra/newview/llpanelmaininventory.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llpanelmaininventory.cpp b/indra/newview/llpanelmaininventory.cpp index 383250e3ac..79b41f8e5f 100644 --- a/indra/newview/llpanelmaininventory.cpp +++ b/indra/newview/llpanelmaininventory.cpp @@ -2180,5 +2180,13 @@ LLInventoryFilter& LLPanelMainInventory::getCurrentFilter() return mActivePanel->getFilter(); } } + +void LLPanelMainInventory::setGallerySelection(const LLUUID& item_id) +{ + if(mSingleFolderMode && isGalleryViewMode()) + { + mInventoryGalleryPanel->changeItemSelection(item_id); + } +} // List Commands // //////////////////////////////////////////////////////////////////////////////// |