diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2021-01-06 12:08:21 +0200 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2021-01-06 12:08:21 +0200 |
commit | 1087c26de7ba89465618518ba93dc7161f075f47 (patch) | |
tree | b5d292c8d628a5d5bc5f29dfe688e055ada44491 | |
parent | 8c41c00888bbfe7b1c6501e995554a39a8bf944b (diff) |
SL-14633 FIXED The item from the favorite tab in the inventory floater can be purged
-rw-r--r-- | indra/newview/llinventorybridge.cpp | 2 |
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")); } |