summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorMonroe Linden <monroe@lindenlab.com>2010-10-04 18:21:08 -0700
committerMonroe Linden <monroe@lindenlab.com>2010-10-04 18:21:08 -0700
commit69215ae757452fd0f7cdc399e2104104bd06f8cf (patch)
tree0dabf0a6584d158a855dc8c48e61266ba24108ea /indra/llui
parent89efb318141bb504597e525f186ea1a43502eac4 (diff)
Fix for EXP-140 -- After logging into Skylight Viewer - User is required to click on Viewer window before using movement keys / flying
In LLMenuHolderGL::handleKey(), in the highlightNextItem() case, don't return true if highlightNextItem() did nothing. Reviewed by Richard.
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llmenugl.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/llui/llmenugl.cpp b/indra/llui/llmenugl.cpp
index 64f84bae7c..7db8b97180 100644
--- a/indra/llui/llmenugl.cpp
+++ b/indra/llui/llmenugl.cpp
@@ -3460,8 +3460,10 @@ BOOL LLMenuHolderGL::handleKey(KEY key, MASK mask, BOOL called_from_parent)
else
{
//highlight first enabled one
- pMenu->highlightNextItem(NULL);
- handled = true;
+ if(pMenu->highlightNextItem(NULL))
+ {
+ handled = true;
+ }
}
}
}