Removed a check which was always false.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23278 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2008-01-07 13:54:55 +00:00
parent d19c9634d4
commit 7957219ebb

View File

@ -1413,10 +1413,8 @@ BMenu::_Track(int *action, long start)
fState = MENU_STATE_TRACKING;
UnlockLooper();
break;
}
else {
if (!_OverSubmenu(fSelected, screenLocation)
&& system_time() > closeTime + kHysteresis
} else {
if (system_time() > closeTime + kHysteresis
&& fState != MENU_STATE_TRACKING_SUBMENU) {
_SelectItem(NULL);
fState = MENU_STATE_TRACKING;