From 2785f1f33d95348853d6c3e08a14f7627407b50c Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Fri, 15 Jul 2022 20:23:12 +0300 Subject: SL-17741 Fixed wrong condition --- indra/newview/llinventorybridge.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview') diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index 8ef0be4a00..458f5d2377 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -2096,7 +2096,7 @@ BOOL LLItemBridge::confirmRemoveItem(const LLSD& notification, const LLSD& respo bool LLItemBridge::isItemCopyable(bool can_copy_as_link) const { LLViewerInventoryItem* item = getItem(); - if (item) + if (!item) { return false; } -- cgit v1.2.3