After some testing on beos, I fixed bug #952. Please check but I think

it's correct now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23158 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2007-12-25 23:09:22 +00:00
parent cf42e48ef1
commit 1d4722b73a

View File

@ -558,7 +558,7 @@ BMenuBar::_Track(int32 *action, int32 startIndex, bool showMenu)
fState = MENU_STATE_CLOSED;
}
} else if (menuItem == NULL && fSelected != NULL
&& !_IsStickyMode() && fState != MENU_STATE_TRACKING_SUBMENU) {
&& !_IsStickyMode() && Bounds().Contains(where)) {
_SelectItem(NULL);
fState = MENU_STATE_TRACKING;
}