From 277539e5624f9a71186568d4a2d506033f76e312 Mon Sep 17 00:00:00 2001
From: Merov Linden <merov@lindenlab.com>
Date: Tue, 22 Apr 2014 19:32:10 -0700
Subject: [PATCH] DD-68 : Suppress the listing if a listing folder is cut when
 associated but not listed

---
 indra/newview/llinventorybridge.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index d43de30c845..d02ea949a8e 100755
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -3528,6 +3528,8 @@ void LLFolderBridge::pasteFromClipboard()
 						llassert(vicat);
 						if (vicat)
 						{
+                            // Clear the cut folder from the marketplace if it was a listing folder (moot if not listed)
+                            LLMarketplaceData::instance().deleteListing(item_id);
                             if (move_is_into_marketplacelistings)
                             {
                                 move_folder_to_marketplacelistings(vicat, parent_id);
-- 
GitLab