From fac31ad392c3df22b2254a00e75c841050195763 Mon Sep 17 00:00:00 2001 From: Mnikolenko Productengine Date: Thu, 21 Sep 2023 16:16:00 +0300 Subject: DRTVWR-589 - allow adding branch to the menu --- indra/llui/llmenugl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'indra/llui') diff --git a/indra/llui/llmenugl.h b/indra/llui/llmenugl.h index 1a330b18cc..4f1098b1d8 100644 --- a/indra/llui/llmenugl.h +++ b/indra/llui/llmenugl.h @@ -558,13 +558,13 @@ public: // Add the menu item to this menu. virtual BOOL append( LLMenuItemGL* item ); + // add a menu - this will create a cascading menu + virtual BOOL appendMenu(LLMenuGL *menu); + protected: void createSpilloverBranch(); void cleanupSpilloverBranch(); - // add a menu - this will create a cascading menu - virtual BOOL appendMenu( LLMenuGL* menu ); - // Used in LLContextMenu and in LLTogleableMenu // to add an item of context menu branch bool addContextChild(LLView* view, S32 tab_group); -- cgit v1.2.3