summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2013-02-05 21:11:33 -0800
committerMerov Linden <merov@lindenlab.com>2013-02-05 21:11:33 -0800
commit2aee8f6fbe2be3196300dd1ee6e31039de089207 (patch)
treebb9ce79a492c8cac0cd0f5674f157c3abab812de
parent5d8c9902767ec5a81b002694d5520a29f3af03fe (diff)
CHUI-730 : Fixed! Only clear out More sub menus in inventory
-rw-r--r--indra/newview/llinventorybridge.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp
index 5bfd63f3df..0ee78d57bd 100644
--- a/indra/newview/llinventorybridge.cpp
+++ b/indra/newview/llinventorybridge.cpp
@@ -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);
}