PDA

View Full Version : [FIXED] possible bug with if() in MenuBar:139



elirov
21 Jul 2009, 11:59 AM
Should this be item.expanded == true?

protected void onDeactivate(MenuBarItem item) {
if (item.expanded = true) {
item.menu.hide();
item.expanded = false;
}

elirov
21 Jul 2009, 11:59 AM
or better yet, just
if (item.expanded)

sven
22 Jul 2009, 5:59 AM
Fixed in SVN.