From d933472a167ee9de797c89c47f22265f2539ec3f Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Thu, 18 Apr 2019 23:29:28 -0400 Subject: [PATCH] Wooops, I'm sick and blind --- indra/newview/llinventorypanel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index b16879113..b7a2c95b2 100644 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -634,7 +634,7 @@ void LLInventoryPanel::modelChanged(U32 mask) { // Add the UI element for this item. buildNewViews(item_id); - if (auto parent = view_item->getParentFolder()) parent->dirtyFilter(); + if (auto parent = getItemByID(model_item->getParentUUID())) parent->dirtyFilter(); // Select any newly created object that has the auto rename at top of folder root set. if(mFolderRoot.get()->getRoot()->needsAutoRename()) {