diff options
author | Merov Linden <merov@lindenlab.com> | 2014-04-03 15:17:31 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2014-04-03 15:17:31 -0700 |
commit | 39659f3c034c5cb335e185d1411e808d272f8065 (patch) | |
tree | 741a3da4a9bcd61b7ec3942bb1a916a4109e1a6b /indra/newview/llinventorypanel.cpp | |
parent | a98346b0c3b90e75858f6ef98985c1246ad30418 (diff) |
DD-20 : Handle edge cases a bit more cleanly
Diffstat (limited to 'indra/newview/llinventorypanel.cpp')
-rwxr-xr-x | indra/newview/llinventorypanel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index 6305275a08..7d774110bd 100755 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -568,7 +568,8 @@ void LLInventoryPanel::modelChanged(U32 mask) else if (!model_item && view_item && viewmodel_item) { // Remove the item's UI. - removeItemID(viewmodel_item->getUUID()); + const LLUUID& idp = viewmodel_item->getUUID(); + removeItemID(idp); view_item->destroyView(); } } |