Index: NSMenuView.m
===================================================================
RCS file: /cvsroot/gnustep/gnustep/core/gui/Source/NSMenuView.m,v
retrieving revision 1.79
diff -u -r1.79 NSMenuView.m
--- NSMenuView.m        23 Mar 2003 21:38:38 -0000      1.79
+++ NSMenuView.m        25 Mar 2003 06:15:52 -0000
@@ -1106,6 +1106,10 @@
                   // and the attached menu is alreay correct.
                   [[[candidateMenu attachedMenu] menuRepresentation]
                     detachSubmenu];
+                 // Reset highlighted index for this menu.
+                 // This way if we return to this submenu later there won't be a highlighted item.
+                  [[[candidateMenu attachedMenu] menuRepresentation]
+                   setHighlightedItemIndex: -1];
                   return [[candidateMenu menuRepresentation]
                     trackWithEvent: original];
                 }

