diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2019-10-17 19:15:02 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2019-10-17 19:15:02 +0300 |
commit | aab8ea7236e01f279c33eb1839ac2e0c4a1f9829 (patch) | |
tree | d6461853a97ac62ac3412a656336a9b6168365b6 /indra/newview/llinventorybridge.cpp | |
parent | 96c78187c19352159e4bd1ea111a2764c13d01ea (diff) |
SL-12121 FIXED Unable to delete folders from 'Marketplace listings'
Diffstat (limited to 'indra/newview/llinventorybridge.cpp')
-rw-r--r-- | indra/newview/llinventorybridge.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index 6d2d533c9d..16d39205fc 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -2270,7 +2270,7 @@ public: // Can be destroyed (or moved to trash) BOOL LLFolderBridge::isItemRemovable() const { - if (!get_is_category_removable(getInventoryModel(), mUUID) || isMarketplaceListingsFolder()) + if (!get_is_category_removable(getInventoryModel(), mUUID)) { return FALSE; } @@ -2287,6 +2287,11 @@ BOOL LLFolderBridge::isItemRemovable() const } } + if (isMarketplaceListingsFolder() && (!LLMarketplaceData::instance().isSLMDataFetched() || LLMarketplaceData::instance().getActivationState(mUUID)))
+ {
+ return FALSE;
+ } + return TRUE; } |