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:
akkana%netscape.com
2000-08-28 22:21:30 +00:00
parent 98e3352cf6
commit 1935be3062

View File

@@ -196,7 +196,7 @@ nsMenuBarListener::KeyDown(nsIDOMEvent* aKeyEvent)
{
InitAccessKey();
if (mAccessKey)
if (mAccessKey && mAccessKeyFocuses)
{
nsCOMPtr<nsIDOMKeyEvent> keyEvent = do_QueryInterface(aKeyEvent);
PRUint32 theChar;