summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2025-02-19 20:36:55 +0200
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-02-19 20:56:58 +0200
commit41368a94b75870aee97e3d793ba1640012d8af1a (patch)
tree9e40d672adda714234651dbdf499fc367f0ead79 /indra/llui
parent8114850e947f2a76e54912524722c48f22851228 (diff)
#3581 #3563 Fix callback deletion not working
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llfolderview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llfolderview.cpp b/indra/llui/llfolderview.cpp
index a059c4d741..b664065532 100644
--- a/indra/llui/llfolderview.cpp
+++ b/indra/llui/llfolderview.cpp
@@ -2011,7 +2011,7 @@ void LLFolderView::onIdleUpdateMenu(void* user_data)
self->updateMenuOptions(menu);
menu->needsArrange(); // update menu height if needed
}
- gIdleCallbacks.deleteFunction(onIdleUpdateMenu, NULL);
+ gIdleCallbacks.deleteFunction(onIdleUpdateMenu, self);
}
bool LLFolderView::isFolderSelected()