From f41c4dd273acb28db21d01714e71cc7e988301a0 Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Wed, 6 Nov 2013 17:44:11 -0500 Subject: [PATCH] Don't open disabled submenus! --- indra/llui/llmenugl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/indra/llui/llmenugl.cpp b/indra/llui/llmenugl.cpp index 7761f5eb8..46c1f1b3e 100644 --- a/indra/llui/llmenugl.cpp +++ b/indra/llui/llmenugl.cpp @@ -3394,6 +3394,7 @@ void LLPieMenuBranch::buildDrawLabel( void ) // doIt() - do the primary funcationality of the menu item. void LLPieMenuBranch::doIt( void ) { + if (getDrawTextDisabled()) return; // Singu Note: Don't open disabled submenus! LLPieMenu *parent = (LLPieMenu *)getParent(); LLRect rect = parent->getRect();