mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Fix for bug 11082.
This commit is contained in:
parent
45533b29b0
commit
8a4f8c434b
@ -121,8 +121,12 @@ nsMenuBarListener::KeyDown(nsIDOMEvent* aKeyEvent)
|
||||
if (theChar == NS_VK_ALT) {
|
||||
// The ALT key just went down. Track this.
|
||||
mAltKeyDown = PR_TRUE;
|
||||
return NS_OK;
|
||||
}
|
||||
else if (theChar == NS_VK_LEFT ||
|
||||
|
||||
mAltKeyDown = PR_FALSE;
|
||||
|
||||
if (theChar == NS_VK_LEFT ||
|
||||
theChar == NS_VK_RIGHT ||
|
||||
theChar == NS_VK_UP ||
|
||||
theChar == NS_VK_DOWN) {
|
||||
|
Loading…
Reference in New Issue
Block a user