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:
parent
d19c9634d4
commit
7957219ebb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user