From 97f76ab882de2088c96b386eba8f222e3b911689 Mon Sep 17 00:00:00 2001
From: Merov Linden <merov@lindenlab.com>
Date: Tue, 22 Apr 2014 19:06:44 -0700
Subject: [PATCH] DD-68 : Suppress the listing if a listing folder is dragged
 outside the marketplace back into the inventory

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

diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index a9d57688547..d43de30c845 100755
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -2753,6 +2753,8 @@ BOOL LLFolderBridge::dragCategoryIntoFolder(LLInventoryCategory* inv_cat,
             if (move_is_from_marketplacelistings)
             {
                 update_marketplace_category(from_folder_uuid);
+                // Clear the folder from the marketplace in case it was a listing folder (moot if not listed)
+                LLMarketplaceData::instance().deleteListing(cat_id);
             }
 		}
 	}
-- 
GitLab