From 7af215cc5f735325177b661c76e0c86e51a168f4 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Wed, 26 Apr 2006 10:20:47 +0000 Subject: [PATCH] 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 --- src/kits/interface/MenuBar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/interface/MenuBar.cpp b/src/kits/interface/MenuBar.cpp index f2089d1556..25b515ed35 100644 --- a/src/kits/interface/MenuBar.cpp +++ b/src/kits/interface/MenuBar.cpp @@ -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; }