summaryrefslogtreecommitdiff
path: root/indra/llui/llmenugl.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-01-09 22:14:10 +0200
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2026-01-09 22:16:49 +0200
commit9de30971d327a1c9bda9f8e4f8e01f1b9d49f5fe (patch)
treec52fcafd621736ac775383f3ead8abcc3d95317c /indra/llui/llmenugl.cpp
parentc3b07f8f01ae2733b0fb1309af95a513878170c1 (diff)
parent31e909870b316b7b4f36396357f70e44c724e608 (diff)
Merge release/2026.01 into develop
Diffstat (limited to 'indra/llui/llmenugl.cpp')
-rw-r--r--indra/llui/llmenugl.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/indra/llui/llmenugl.cpp b/indra/llui/llmenugl.cpp
index 2ca2454040..6ba31c251e 100644
--- a/indra/llui/llmenugl.cpp
+++ b/indra/llui/llmenugl.cpp
@@ -4404,3 +4404,17 @@ bool LLContextMenu::addChild(LLView* view, S32 tab_group)
return addContextChild(view, tab_group);
}
+void LLContextMenu::deleteAllChildren()
+{
+ mHoverItem = nullptr;
+ LLMenuGL::deleteAllChildren();
+}
+
+void LLContextMenu::removeChild(LLView* ctrl)
+{
+ if (ctrl == mHoverItem)
+ {
+ mHoverItem = nullptr;
+ }
+ LLMenuGL::removeChild(ctrl);
+}