fixed a small problem introduced with the last commit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17240 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -428,7 +428,7 @@ BMenuBar::Track(int32 *action, int32 startIndex, bool showMenu)
|
|||||||
menu->SetStickyMode(true);
|
menu->SetStickyMode(true);
|
||||||
resultItem = menu->_track(&localAction, system_time());
|
resultItem = menu->_track(&localAction, system_time());
|
||||||
}
|
}
|
||||||
} else if (menuItem == NULL && !IsStickyMode()) {
|
} else if (menuItem == NULL && !IsStickyMode() && fState != MENU_STATE_TRACKING_SUBMENU) {
|
||||||
SelectItem(NULL);
|
SelectItem(NULL);
|
||||||
fState = MENU_STATE_TRACKING;
|
fState = MENU_STATE_TRACKING;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user