SL-11324 FIXED Accidental deletion of Marketplace Listings folder possible
parent
1b793f5c10
commit
618446f8df
|
|
@ -2269,7 +2269,7 @@ public:
|
|||
// Can be destroyed (or moved to trash)
|
||||
BOOL LLFolderBridge::isItemRemovable() const
|
||||
{
|
||||
if (!get_is_category_removable(getInventoryModel(), mUUID))
|
||||
if (!get_is_category_removable(getInventoryModel(), mUUID) || isMarketplaceListingsFolder())
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
|
@ -2285,11 +2285,6 @@ BOOL LLFolderBridge::isItemRemovable() const
|
|||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
if (isMarketplaceListingsFolder() && LLMarketplaceData::instance().getActivationState(mUUID))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue