summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorymodelbackgroundfetch.cpp
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-06-21 18:38:10 +0300
committerMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-06-21 18:38:10 +0300
commit7e0dceca68e4b9d9d94b9e530954cba9366dc97e (patch)
treea81266b113ea1f0cb57623444e90487154bdab96 /indra/newview/llinventorymodelbackgroundfetch.cpp
parent6c0891473ff1d5f740e3d3624cec2f5c17da0ad6 (diff)
SL-19898 FIXED Contents purchased from items do not show in Recent Items until selecting folder
Diffstat (limited to 'indra/newview/llinventorymodelbackgroundfetch.cpp')
-rw-r--r--indra/newview/llinventorymodelbackgroundfetch.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llinventorymodelbackgroundfetch.cpp b/indra/newview/llinventorymodelbackgroundfetch.cpp
index 0eb07523ae..26288e6b0a 100644
--- a/indra/newview/llinventorymodelbackgroundfetch.cpp
+++ b/indra/newview/llinventorymodelbackgroundfetch.cpp
@@ -357,6 +357,8 @@ void LLInventoryModelBackgroundFetch::scheduleFolderFetch(const LLUUID& cat_id,
{
if (mFetchFolderQueue.empty() || mFetchFolderQueue.front().mUUID != cat_id)
{
+ mBackgroundFetchActive = true;
+
// Specific folder requests go to front of queue.
mFetchFolderQueue.push_front(FetchQueueInfo(cat_id, forced ? FT_FORCED : FT_DEFAULT));
gIdleCallbacks.addFunction(&LLInventoryModelBackgroundFetch::backgroundFetchCB, NULL);