summaryrefslogtreecommitdiff
path: root/indra/llui/llmenugl.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-10-18 16:55:20 -0700
committerRichard Linden <none@none>2010-10-18 16:55:20 -0700
commit5080a19afae4cc04196c643f755f35431d37e3a0 (patch)
tree410a352abc2f7cc0d616b90391ec55a7dd117471 /indra/llui/llmenugl.cpp
parent1aea5210165a3e7d0467b5107de4a94d5b5c3be4 (diff)
EXP-230 FIX "elp" text flashes on and off in upper left corner of skylight viewe
Diffstat (limited to 'indra/llui/llmenugl.cpp')
-rw-r--r--indra/llui/llmenugl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llmenugl.cpp b/indra/llui/llmenugl.cpp
index 7db8b97180..8e142aed41 100644
--- a/indra/llui/llmenugl.cpp
+++ b/indra/llui/llmenugl.cpp
@@ -1462,7 +1462,7 @@ BOOL LLMenuItemBranchDownGL::handleAcceleratorKey(KEY key, MASK mask)
{
BOOL branch_visible = getBranch()->getVisible();
BOOL handled = getBranch()->handleAcceleratorKey(key, mask);
- if (handled && !branch_visible && getVisible())
+ if (handled && !branch_visible && isInVisibleChain())
{
// flash this menu entry because we triggered an invisible menu item
LLMenuHolderGL::setActivatedItem(this);