Fix slip of the keyboard

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16153 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2003-03-08 11:47:31 +00:00
parent aff8b096b9
commit d192b06fc5

View file

@ -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)
{