diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-02-14 00:00:14 +0200 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-02-14 00:38:38 +0200 |
commit | 2560cfaeca023c2ce331e15d6c8acafe5956b839 (patch) | |
tree | d4e5dc9312c753dfa6444cc000e900319d3843a4 | |
parent | 403af426cc14659bc2477bb56809b385c12c00a4 (diff) |
viewer#780 Fix bulk removal of local textures
-rw-r--r-- | indra/newview/lltexturectrl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltexturectrl.cpp b/indra/newview/lltexturectrl.cpp index 28e01c6c21..bbf691e014 100644 --- a/indra/newview/lltexturectrl.cpp +++ b/indra/newview/lltexturectrl.cpp @@ -1093,7 +1093,7 @@ void LLFloaterTexturePicker::onBtnRemove(void* userdata) LLScrollListItem* list_item = *iter; if (list_item) { - LLSD data = self->mLocalScrollCtrl->getFirstSelected()->getValue(); + LLSD data = list_item->getValue(); LLUUID tracking_id = data["id"]; S32 asset_type = data["type"].asInteger(); |