diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-04-29 16:53:40 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-04-29 17:16:31 +0300 |
commit | 00d612f4308aa37e26927cd4db60742b85a593a8 (patch) | |
tree | 72db73d1edf53372b93c109ec11d4d3cf1fde553 | |
parent | 14f5cd2ba2f984e36710d914805a788c38859124 (diff) |
#3993 Fix missing 'add to favorites' option
-rw-r--r-- | indra/newview/llinventorybridge.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index 642ba3b546..c20a8d1097 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -4472,6 +4472,15 @@ void LLFolderBridge::buildContextMenuOptions(U32 flags, menuentry_vec_t& items if (model->findCategoryUUIDForType(LLFolderType::FT_CURRENT_OUTFIT) == mUUID) { items.push_back(std::string("Copy outfit list to clipboard")); + if (isFavorite()) + { + items.push_back(std::string("Remove from Favorites")); + } + else + { + items.push_back(std::string("Add to Favorites")); + } + addOpenFolderMenuOptions(flags, items); } |