CHUI-730 : Fixed! Only clear out More sub menus in inventory

meow-7.2.2
Merov Linden 2013-02-05 21:11:33 -08:00
parent 5d8c990276
commit 2aee8f6fbe
1 changed files with 1 additions and 1 deletions

View File

@ -571,7 +571,7 @@ void hide_context_entries(LLMenuGL& menu,
// descend into split menus:
LLMenuItemBranchGL* branchp = dynamic_cast<LLMenuItemBranchGL*>(menu_item);
if (NULL != branchp)
if ((name == "More") && branchp)
{
hide_context_entries(*branchp->getBranch(), entries_to_show, disabled_entries);
}