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:
Stefano Ceccherini 2006-04-26 10:20:47 +00:00
parent 93820f1ea7
commit 7af215cc5f
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}