diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2023-07-21 11:27:55 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2023-07-21 11:27:55 -0400 |
commit | 25330b47f961b68df046665ce0576e6f23d1f3e5 (patch) | |
tree | db84983b338972d1c332b45742c643f9d18c3fe3 /indra/llui/llmenugl.cpp | |
parent | 248f78b45ec9ee275f3b97e50b9962f2e54dbde2 (diff) | |
parent | ec4135da63a3f3877222fba4ecb59b15650371fe (diff) |
SL-18837: Merge branch 'main' of secondlife/viewer into actions
Diffstat (limited to 'indra/llui/llmenugl.cpp')
-rw-r--r-- | indra/llui/llmenugl.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llui/llmenugl.cpp b/indra/llui/llmenugl.cpp index 5cb840fd61..33c4b6ec73 100644 --- a/indra/llui/llmenugl.cpp +++ b/indra/llui/llmenugl.cpp @@ -1882,6 +1882,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 |