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.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llinventorygallerymenu.cpp b/indra/newview/llinventorygallerymenu.cpp
index 320cbcdb1e..2b2b1d7005 100644
--- a/indra/newview/llinventorygallerymenu.cpp
+++ b/indra/newview/llinventorygallerymenu.cpp
@@ -772,7 +772,9 @@ void LLInventoryGalleryContextMenu::updateMenuItemsVisibility(LLContextMenu* men
{
disabled_items.push_back(std::string("Paste As Link"));
}
- else if (selected_item->getAssetUUID().isNull())
+ else if (selected_item->getAssetUUID().isNull()
+ && (selected_item->getActualType() == LLAssetType::AT_NOTECARD
+ || selected_item->getActualType() == LLAssetType::AT_MATERIAL))
{
disabled_items.push_back(std::string("Paste As Link"));
}