summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorygallerymenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llinventorygallerymenu.cpp')
-rw-r--r--indra/newview/llinventorygallerymenu.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llinventorygallerymenu.cpp b/indra/newview/llinventorygallerymenu.cpp
index 018d2e9521..9941115e19 100644
--- a/indra/newview/llinventorygallerymenu.cpp
+++ b/indra/newview/llinventorygallerymenu.cpp
@@ -811,7 +811,7 @@ void LLInventoryGalleryContextMenu::updateMenuItemsVisibility(LLContextMenu* men
if (!is_trash && !is_in_trash && gInventory.getRootFolderID() != selected_id)
{
- if (obj->getIsFavorite())
+ if (get_is_favorite(obj))
{
items.push_back(std::string("Remove from Favorites"));
}
@@ -868,7 +868,7 @@ void LLInventoryGalleryContextMenu::updateMenuItemsVisibility(LLContextMenu* men
items.push_back(std::string("Cut"));
if (!is_in_trash)
{
- if (obj->getIsFavorite())
+ if (get_is_favorite(obj))
{
items.push_back(std::string("Remove from Favorites"));
}
@@ -1063,7 +1063,7 @@ void LLInventoryGalleryContextMenu::updateMenuItemsVisibility(LLContextMenu* men
}
}
- if (obj->getIsFavorite())
+ if (get_is_favorite(obj))
{
items.push_back(std::string("Remove from Favorites"));
}