the menuitem wasn't deselected when you moved the mouse away from the menu window. Thanks to Axel for reporting.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13418 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
553ea30124
commit
1a02bff863
@ -1113,8 +1113,13 @@ BMenu::_track(int *action, long start)
|
||||
if (item != NULL) {
|
||||
if (item != fSelected)
|
||||
SelectItem(item);
|
||||
}
|
||||
|
||||
} else if (fSelected != NULL) {
|
||||
BPoint screenLocation = location;
|
||||
ConvertToScreen(&screenLocation);
|
||||
if (!OverSubmenu(fSelected, screenLocation))
|
||||
SelectItem(NULL);
|
||||
}
|
||||
|
||||
int submenuAction = MENU_ACT_NONE;
|
||||
BMenuItem *submenuItem = NULL;
|
||||
if (fSelected != NULL && fSelected->Submenu() != NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user