From d192b06fc571b44425f0b60f5505a0de78d6ce71 Mon Sep 17 00:00:00 2001 From: Richard Frith-Macdonald Date: Sat, 8 Mar 2003 11:47:31 +0000 Subject: [PATCH] Fix slip of the keyboard git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16153 72102866-910b-0410-8b05-ffd578937521 --- Source/NSMenu.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/NSMenu.m b/Source/NSMenu.m index 86e0a5a34..3d5b21733 100644 --- a/Source/NSMenu.m +++ b/Source/NSMenu.m @@ -215,7 +215,7 @@ static NSNotificationCenter *nc; menuLocations = [[defaults objectForKey: NSMenuLocationsKey] mutableCopy]; if ([_aWindow isVisible] - && ([self isTornOff] || ([NSApp mainWindow] == self))) + && ([self isTornOff] || ([NSApp mainMenu] == self))) { if (menuLocations == nil) {