summaryrefslogtreecommitdiff
path: root/indra/llui/llfolderview.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2025-02-06 19:06:09 +0200
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-02-07 18:34:04 +0200
commit95106e203cb20b596810c4227acfa45e81358ef9 (patch)
treeba49f0a12b651f24be1f4e1c377238c9c993ff43 /indra/llui/llfolderview.h
parent046ec79d2288cbe9e65999ea9e693652036c1813 (diff)
#3505 Fix updateMenu() being called too frequently on fetch callback
The actual problem is fetch dumping thousands of callbacks, but this should mitigate the problem
Diffstat (limited to 'indra/llui/llfolderview.h')
-rw-r--r--indra/llui/llfolderview.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llui/llfolderview.h b/indra/llui/llfolderview.h
index 82637e33ea..7ed10d9223 100644
--- a/indra/llui/llfolderview.h
+++ b/indra/llui/llfolderview.h
@@ -266,6 +266,7 @@ public:
private:
void updateMenuOptions(LLMenuGL* menu);
void updateRenamerPosition();
+ static void onIdleUpdateMenu(void* user_data);
protected:
LLScrollContainer* mScrollContainer; // NULL if this is not a child of a scroll container.