Don't open disabled submenus!

This commit is contained in:
Inusaito Sayori
2013-11-06 17:44:11 -05:00
parent cb0cc571ee
commit f41c4dd273

View File

@@ -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();