Revision: 7513
Author: jlaba...@google.com
Date: Mon Feb 1 02:58:54 2010
Log: Fix a bug where MenuBar loses focus when moving between submenus using
left/right keys. When are maintaining focus when the popup is auto closed
instead of maintaining focus when the popup is manually closed.
http://code.google.com/p/google-web-toolkit/source/detail?r=7513
Modified:
/trunk/user/src/com/google/gwt/user/client/ui/MenuBar.java
=======================================
--- /trunk/user/src/com/google/gwt/user/client/ui/MenuBar.java Tue Jan 26
10:25:12 2010
+++ /trunk/user/src/com/google/gwt/user/client/ui/MenuBar.java Mon Feb 1
02:58:54 2010
@@ -634,7 +634,7 @@
// When the menu popup closes, remember that no item is
// currently showing a popup menu.
- onHide(autoClosed);
+ onHide(!autoClosed);
CloseEvent.fire(MenuBar.this, sender);
shownChildMenu = null;
popup = null;
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors