summaryrefslogtreecommitdiff
path: root/indra/llinventory/llinventory.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-05-09 23:22:26 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-05-09 23:50:02 +0300
commita420e84f4822d19388241f99a916dacc4d1eab61 (patch)
treebf6c185584af53cc183434cc35cbf77d1a426ae9 /indra/llinventory/llinventory.cpp
parent5c78396b64c985a7e58d045ff3f343bccc81c8d3 (diff)
viewer#1424 Favorites in Appearance floater #2
Diffstat (limited to 'indra/llinventory/llinventory.cpp')
-rw-r--r--indra/llinventory/llinventory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llinventory/llinventory.cpp b/indra/llinventory/llinventory.cpp
index 2f701f12a0..9b73cbbd74 100644
--- a/indra/llinventory/llinventory.cpp
+++ b/indra/llinventory/llinventory.cpp
@@ -1556,7 +1556,7 @@ bool LLInventoryCategory::importLLSD(const LLSD& cat_data)
const LLSD& favorite_data = cat_data[INV_FAVORITE_LABEL];
if (favorite_data.has(INV_TOGGLED_LABEL))
{
- favorite = favorite_data[INV_ASSET_ID_LABEL].asBoolean();
+ favorite = favorite_data[INV_TOGGLED_LABEL].asBoolean();
}
setFavorite(favorite);
}