summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobject.cpp
diff options
context:
space:
mode:
authorBrad Linden <brad@lindenlab.com>2023-12-14 12:07:45 -0800
committerBrad Linden <brad@lindenlab.com>2023-12-14 12:07:45 -0800
commit32de0cb67d824498d0fc9d489ce19731ebfddfdf (patch)
tree9fd52f420543a5c4dc45215d7ed49faf94f386fe /indra/newview/llviewerobject.cpp
parent7bfe590a3669a005d4269cdcf378891080264dce (diff)
parent4c791e098d3abafa406e0e269038c40aae67f66c (diff)
Merge branch 'DRTVWR-596' into DRTVWR-601
Diffstat (limited to 'indra/newview/llviewerobject.cpp')
-rw-r--r--indra/newview/llviewerobject.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp
index 2bcd0858d3..d4346ee2d9 100644
--- a/indra/newview/llviewerobject.cpp
+++ b/indra/newview/llviewerobject.cpp
@@ -3485,6 +3485,12 @@ void LLViewerObject::doInventoryCallback()
void LLViewerObject::removeInventory(const LLUUID& item_id)
{
+ // close associated floater properties
+ LLSD params;
+ params["id"] = item_id;
+ params["object"] = mID;
+ LLFloaterReg::hideInstance("item_properties", params);
+
LLMessageSystem* msg = gMessageSystem;
msg->newMessageFast(_PREHASH_RemoveTaskInventory);
msg->nextBlockFast(_PREHASH_AgentData);