diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-06-12 16:10:28 +0300 |
---|---|---|
committer | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-06-12 16:10:28 +0300 |
commit | 929f9d8d5f2e7895016648557fa60c9d4a84baf6 (patch) | |
tree | c56628f2b391f7a313613f60dcfaf60915e31039 /indra/newview/llinventorypanel.cpp | |
parent | 14aa4dcdc23feafc537f06e49c48e9d693300103 (diff) |
SL-19825 clear selection when right-clicking outside of selected items
Diffstat (limited to 'indra/newview/llinventorypanel.cpp')
-rw-r--r-- | indra/newview/llinventorypanel.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index 53753b6c6b..067758b99c 100644 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -2304,15 +2304,7 @@ void LLInventorySingleFolderPanel::doCreate(const LLSD& userdata) void LLInventorySingleFolderPanel::doShare() { - if(mFolderRoot.get()->getCurSelectedItem() == NULL) - { - std::set<LLUUID> uuids{mFolderID}; - LLAvatarActions::shareWithAvatars(uuids, gFloaterView->getParentFloater(this)); - } - else - { - LLAvatarActions::shareWithAvatars(this); - } + LLAvatarActions::shareWithAvatars(this); } /************************************************************************/ /* Asset Pre-Filtered Inventory Panel related class */ |