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:
parent
93820f1ea7
commit
7af215cc5f
|
@ -428,7 +428,7 @@ BMenuBar::Track(int32 *action, int32 startIndex, bool showMenu)
|
|||
menu->SetStickyMode(true);
|
||||
resultItem = menu->_track(&localAction, system_time());
|
||||
}
|
||||
} else if (menuItem == NULL && !IsStickyMode()) {
|
||||
} else if (menuItem == NULL && !IsStickyMode() && fState != MENU_STATE_TRACKING_SUBMENU) {
|
||||
SelectItem(NULL);
|
||||
fState = MENU_STATE_TRACKING;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue