summaryrefslogtreecommitdiff
path: root/indra/llui/llmenugl.cpp
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2014-12-12 18:03:43 +0200
committerandreykproductengine <akleshchev@productengine.com>2014-12-12 18:03:43 +0200
commitd6b7a3890369d994704d49ffcea0b4f601a47ab2 (patch)
treeb7ac21383603f4e18e0908668a5b64db6a425603 /indra/llui/llmenugl.cpp
parentc2bd14193d0c4dff636f2703ed90cc3d4a23edee (diff)
MAINT-4735 FIXED Need to press Ctrl+W twice to close floater
Diffstat (limited to 'indra/llui/llmenugl.cpp')
-rwxr-xr-xindra/llui/llmenugl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llmenugl.cpp b/indra/llui/llmenugl.cpp
index 31df853ab4..22fcadb60a 100755
--- a/indra/llui/llmenugl.cpp
+++ b/indra/llui/llmenugl.cpp
@@ -3696,7 +3696,7 @@ BOOL LLMenuHolderGL::handleKey(KEY key, MASK mask, BOOL called_from_parent)
{
handled = pMenu->handleKey(key, mask, TRUE);
}
- else
+ else if (mask == MASK_NONE || (key >= KEY_LEFT && key <= KEY_DOWN))
{
//highlight first enabled one
if(pMenu->highlightNextItem(NULL))