summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorypanel.cpp
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-06-12 16:10:28 +0300
committerMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-06-12 16:10:28 +0300
commit929f9d8d5f2e7895016648557fa60c9d4a84baf6 (patch)
treec56628f2b391f7a313613f60dcfaf60915e31039 /indra/newview/llinventorypanel.cpp
parent14aa4dcdc23feafc537f06e49c48e9d693300103 (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.cpp10
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 */