Skip to content

Commit

Permalink
Set windows menu even if it is nil
Browse files Browse the repository at this point in the history
  • Loading branch information
b4winckler committed Jun 4, 2008
1 parent 092e0cc commit d98e291
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/MacVim/MMAppController.m
Expand Up @@ -643,9 +643,8 @@ - (void)setMainMenu:(NSMenu *)mainMenu
if ([item action] == @selector(makeKeyAndOrderFront:))
[windowsMenu removeItem:item];
}

[NSApp setWindowsMenu:windowsMenu];
}
[NSApp setWindowsMenu:windowsMenu];
}

- (IBAction)newWindow:(id)sender
Expand Down

0 comments on commit d98e291

Please sign in to comment.