diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-04-07 18:02:22 +0300 |
---|---|---|
committer | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-04-07 18:02:22 +0300 |
commit | 7df076b62682b7e9749bb402958a3ea6735be283 (patch) | |
tree | 17d8db4230eb77e8ba4d55c57bd3b326a83a9efa /indra/newview/llinventorypanel.cpp | |
parent | d5a949d97a67c8b9e551fc4b22d4c901eaf1d91a (diff) |
SL-19544 WIP apply filter when adding an item to the Gallery
Diffstat (limited to 'indra/newview/llinventorypanel.cpp')
-rw-r--r-- | indra/newview/llinventorypanel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index 0589b5b3f3..cc81b53841 100644 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -1801,7 +1801,7 @@ void LLInventoryPanel::openInventoryPanelAndSetSelection(BOOL auto_open, const L { LLSidepanelInventory *inventory_panel = inventory_floater->findChild<LLSidepanelInventory>("main_panel"); LLPanelMainInventory* main_panel = inventory_panel->getMainInventoryPanel(); - if(main_panel->isSingleFolderMode() && main_panel->isGalleryViewMode()) + if(main_panel->isSingleFolderMode() && (main_panel->isGalleryViewMode() || main_panel->isCombinationViewMode())) { main_panel->setGallerySelection(obj_id); return; |