summaryrefslogtreecommitdiff
path: root/indra/newview/llmarketplacefunctions.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-08-17 18:06:51 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-08-17 20:32:12 +0300
commit5759be7cdf0f8fe0745265b85bab8c37bd2335be (patch)
tree374832dbe8e1401aa3a07bd76cf278354015b373 /indra/newview/llmarketplacefunctions.h
parent8e8c68720b936a3bd7e907639a966918d48e57bc (diff)
SL-17834 MP window freezes when loading items from Inventory
1. Do not process all marketpalce changes at once, schedule them for later 2. Do not notifyObservers from notifyObservers
Diffstat (limited to 'indra/newview/llmarketplacefunctions.h')
-rw-r--r--indra/newview/llmarketplacefunctions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llmarketplacefunctions.h b/indra/newview/llmarketplacefunctions.h
index fee9225f77..ec5de88189 100644
--- a/indra/newview/llmarketplacefunctions.h
+++ b/indra/newview/llmarketplacefunctions.h
@@ -240,6 +240,7 @@ public:
void setUpdating(const LLUUID& folder_id, bool isUpdating);
// Used to decide when to run a validation on listing folders
+ bool hasValidationWaiting() { return mValidationWaitingList.size() > 0; }
void setValidationWaiting(const LLUUID& folder_id, S32 count);
void decrementValidationWaiting(const LLUUID& folder_id, S32 count = 1);