From aeb6d0c93c1122c1320f99c1a652a5e2f1d60d52 Mon Sep 17 00:00:00 2001 From: Josh Bell Date: Mon, 15 Jan 2007 18:49:02 +0000 Subject: svn merge -r 56599:56738 svn+ssh://svn.lindenlab.com/svn/linden/branches/maintenance --- indra/llui/llmenugl.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'indra/llui/llmenugl.cpp') diff --git a/indra/llui/llmenugl.cpp b/indra/llui/llmenugl.cpp index 650596c7f7..8607d1d752 100644 --- a/indra/llui/llmenugl.cpp +++ b/indra/llui/llmenugl.cpp @@ -528,8 +528,8 @@ void LLMenuItemGL::draw( void ) } } - // underline "jump" key - if (getMenu()->jumpKeysActive()) + // underline "jump" key only when keyboard navigation has been initiated + if (getMenu()->jumpKeysActive() && LLMenuGL::getKeyboardMode()) { LLString upper_case_label = mLabel.getString(); LLString::toUpper(upper_case_label); @@ -1792,8 +1792,8 @@ void LLMenuItemBranchDownGL::draw( void ) LLFontGL::HCENTER, LLFontGL::BOTTOM, font_style ); - // underline navigation key - if (getMenu()->jumpKeysActive()) + // underline navigation key only when keyboard navigation has been initiated + if (getMenu()->jumpKeysActive() && LLMenuGL::getKeyboardMode()) { LLString upper_case_label = mLabel.getString(); LLString::toUpper(upper_case_label); @@ -4281,6 +4281,7 @@ BOOL LLMenuBarGL::handleHover( S32 x, S32 y, MASK mask ) ((LLMenuItemGL*)viewp)->doIt(); LLMenuGL::setKeyboardMode(FALSE); } + LLMenuGL::setKeyboardMode(FALSE); } } -- cgit v1.3