summaryrefslogtreecommitdiff
path: root/indra/llui/llmenugl.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-05-12 18:26:02 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-05-12 19:01:44 +0300
commit6e2e9d5904b3cc89deb755f3552d915104065aa0 (patch)
treed0008c0285ba4242fb8c28af11afb83f720f0567 /indra/llui/llmenugl.cpp
parent17e18aa9bfa095e8b41c1c0e45c5757101a3f710 (diff)
SL-19649 Adjust other classes for new deleteAllChildren mechanics
Diffstat (limited to 'indra/llui/llmenugl.cpp')
-rw-r--r--indra/llui/llmenugl.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llui/llmenugl.cpp b/indra/llui/llmenugl.cpp
index 35f2930800..1666ff8c98 100644
--- a/indra/llui/llmenugl.cpp
+++ b/indra/llui/llmenugl.cpp
@@ -1891,6 +1891,13 @@ bool LLMenuGL::addContextChild(LLView* view, S32 tab_group)
return false;
}
+
+void LLMenuGL::deleteAllChildren()
+{
+ mItems.clear();
+ LLUICtrl::deleteAllChildren();
+}
+
void LLMenuGL::removeChild( LLView* ctrl)
{
// previously a dynamic_cast with if statement to check validity