summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2021-01-06 12:08:21 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2021-01-06 12:08:21 +0200
commit1087c26de7ba89465618518ba93dc7161f075f47 (patch)
treeb5d292c8d628a5d5bc5f29dfe688e055ada44491 /indra/newview
parent8c41c00888bbfe7b1c6501e995554a39a8bf944b (diff)
SL-14633 FIXED The item from the favorite tab in the inventory floater can be purged
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llinventorybridge.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index 27e222237e..34e2dc7904 100644
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -987,7 +987,7 @@ void LLInvFVBridge::addTrashContextMenuOptions(menuentry_vec_t &items,
}
}
items.push_back(std::string("Purge Item"));
- if (!isItemRemovable())
+ if (!isItemRemovable() || isPanelActive("Favorite Items"))
{
disabled_items.push_back(std::string("Purge Item"));
}