summaryrefslogtreecommitdiff
path: root/indra/llui/llmenugl.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2026-01-21 13:29:05 +0800
committerErik Kundiman <erik@megapahit.org>2026-01-21 13:29:05 +0800
commit71577cea319238b54b283a25ee9270e10f11a0bc (patch)
tree8b26dee2fb5f56925c1dbd0c0e09be104677c46d /indra/llui/llmenugl.cpp
parentf301d1c4afa30b3a2845ea9b92a6ed0561e58b78 (diff)
parentca6601cbb8d4ef9828466c8d1316ae28d0c7b7b8 (diff)
Merge tag 'Second_Life_Release#ca6601cb-2026.01' into 2026.01
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);
+}