49401: Fix another place where the menu access key was getting handled without checking mAccessKeyFocuses. r=slamm
git-svn-id: svn://10.0.0.236/trunk@77376 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -196,7 +196,7 @@ nsMenuBarListener::KeyDown(nsIDOMEvent* aKeyEvent)
|
||||
{
|
||||
InitAccessKey();
|
||||
|
||||
if (mAccessKey)
|
||||
if (mAccessKey && mAccessKeyFocuses)
|
||||
{
|
||||
nsCOMPtr<nsIDOMKeyEvent> keyEvent = do_QueryInterface(aKeyEvent);
|
||||
PRUint32 theChar;
|
||||
|
||||
Reference in New Issue
Block a user