summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorypanel.cpp
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-05-16 18:03:57 +0300
committerMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-05-16 18:03:57 +0300
commit474012abd603f7e7963344fcd9d14cdc7db7bb9a (patch)
treeb0423c9d7cb9f4b9bc169e887b2f9d0db67cf8b3 /indra/newview/llinventorypanel.cpp
parent4d3a8f4a6cd2bef58bc95854af0325ca0190351f (diff)
SL-19686 reduce delay when switching between folders
Diffstat (limited to 'indra/newview/llinventorypanel.cpp')
-rw-r--r--indra/newview/llinventorypanel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp
index ca5abfd661..edcd45db79 100644
--- a/indra/newview/llinventorypanel.cpp
+++ b/indra/newview/llinventorypanel.cpp
@@ -2195,8 +2195,8 @@ void LLInventorySingleFolderPanel::updateSingleFolderRoot()
LLUUID root_id = mFolderID;
if (mFolderRoot.get())
{
- removeItemID(getRootFolderID());
- mFolderRoot.get()->destroyView();
+ mItemMap.clear();
+ mFolderRoot.get()->destroyRoot();
}
mCommitCallbackRegistrar.pushScope();