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:
parent
cf42e48ef1
commit
1d4722b73a
@ -558,7 +558,7 @@ BMenuBar::_Track(int32 *action, int32 startIndex, bool showMenu)
|
|||||||
fState = MENU_STATE_CLOSED;
|
fState = MENU_STATE_CLOSED;
|
||||||
}
|
}
|
||||||
} else if (menuItem == NULL && fSelected != NULL
|
} else if (menuItem == NULL && fSelected != NULL
|
||||||
&& !_IsStickyMode() && fState != MENU_STATE_TRACKING_SUBMENU) {
|
&& !_IsStickyMode() && Bounds().Contains(where)) {
|
||||||
_SelectItem(NULL);
|
_SelectItem(NULL);
|
||||||
fState = MENU_STATE_TRACKING;
|
fState = MENU_STATE_TRACKING;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user