diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-04-04 15:14:02 +0300 |
---|---|---|
committer | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-04-04 15:14:02 +0300 |
commit | 7ccfbd7c285cc2ab0bbf569912f8e9e2d5c1df72 (patch) | |
tree | 1102d1b3ccb455e4500661fa3e420dd3189c5608 /indra/newview/llpanelmaininventory.cpp | |
parent | 77753a31aba6123696761aeeb2c535768fd1ea12 (diff) |
SL-19379 Don't switch focus to other Inventory floater when creating an item in Gallery
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 // //////////////////////////////////////////////////////////////////////////////// |