From b4a259970d826d45145dd5fd3f43bcab5208d700 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Sun, 21 Jun 2009 15:02:44 +0000 Subject: Typo, should be the sheet not the window. --- Source/MainController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source') diff --git a/Source/MainController.m b/Source/MainController.m index a0b69ffd..f00e3264 100644 --- a/Source/MainController.m +++ b/Source/MainController.m @@ -192,8 +192,8 @@ NSWindow *attachedSheet = [window attachedSheet]; if (attachedSheet) { - [NSApp endSheet:window returnCode:0]; - [window orderOut:nil]; + [NSApp endSheet:attachedSheet returnCode:0]; + [attachedSheet orderOut:nil]; } } } -- cgit v1.2.3