summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorypanel.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2012-09-28 17:38:34 -0700
committerMerov Linden <merov@lindenlab.com>2012-09-28 17:38:34 -0700
commitd1ada50b9e6f9a357d04498cf138208ee7653d7c (patch)
treece023fc35c03a105d023028798f2bc423cbe4426 /indra/newview/llinventorypanel.cpp
parent7fc33cc47fdc080bbc7674cf118011b689ba1485 (diff)
parent8b2ed2e2050fcb8836be120902f44417613adb13 (diff)
Mer ge pull from richard/viewer-chui
Diffstat (limited to 'indra/newview/llinventorypanel.cpp')
-rw-r--r--indra/newview/llinventorypanel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp
index 2a84616ddf..a77b57638f 100644
--- a/indra/newview/llinventorypanel.cpp
+++ b/indra/newview/llinventorypanel.cpp
@@ -441,8 +441,9 @@ void LLInventoryPanel::modelChanged(U32 mask)
handled = true;
if (model_item && view_item && viewmodel_item)
{
+ const LLUUID& idp = viewmodel_item->getUUID();
view_item->destroyView();
- removeItemID(viewmodel_item->getUUID());
+ removeItemID(idp);
}
view_item = buildNewViews(item_id);
viewmodel_item =