summaryrefslogtreecommitdiff
path: root/indra/newview/llinventoryfunctions.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2014-08-14 21:02:43 -0700
committerMerov Linden <merov@lindenlab.com>2014-08-14 21:02:43 -0700
commit9bedc2ab3dc88e2958a31d8501c3291cb2d5d20e (patch)
tree41dcdfbcbeea057fb4ee035a16a2d657d120c573 /indra/newview/llinventoryfunctions.cpp
parentf02ac3b7dc8c0496a639e881f6a5f8c62bbdd7c0 (diff)
DD-117 : Prevent drag and drop of linked items into the marketplace
Diffstat (limited to 'indra/newview/llinventoryfunctions.cpp')
-rwxr-xr-xindra/newview/llinventoryfunctions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llinventoryfunctions.cpp b/indra/newview/llinventoryfunctions.cpp
index bdd129d54c..98f74bb1a6 100755
--- a/indra/newview/llinventoryfunctions.cpp
+++ b/indra/newview/llinventoryfunctions.cpp
@@ -923,8 +923,8 @@ bool can_move_to_marketplace(LLInventoryItem* inv_item, std::string& tooltip_msg
LLViewerInventoryItem * linked_item = viewer_inv_item->getLinkedItem();
LLViewerInventoryCategory * linked_category = viewer_inv_item->getLinkedCategory();
- // Linked items and folders cannot be put for sale if caller can't resolve them
- if (!resolve_links && (linked_category || linked_item))
+ // Linked items and folders cannot be put for sale
+ if (linked_category || linked_item)
{
tooltip_msg = LLTrans::getString("TooltipOutboxLinked");
return false;