diff --git a/src/kits/interface/Menu.cpp b/src/kits/interface/Menu.cpp index 425b72a999..9dcb14d8bc 100644 --- a/src/kits/interface/Menu.cpp +++ b/src/kits/interface/Menu.cpp @@ -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;