From 87173093000bc5c36962451cc3e58c9aaac5ab50 Mon Sep 17 00:00:00 2001 From: mltownsend Date: Tue, 4 Nov 2008 06:19:51 +0000 Subject: Changed the closeSheet: method back to it's original --- TableDocument.m | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'TableDocument.m') diff --git a/TableDocument.m b/TableDocument.m index 5c93c09f..44ee05df 100644 --- a/TableDocument.m +++ b/TableDocument.m @@ -258,10 +258,7 @@ stops modal session with code 0 reused when user hits the close button of the variablseSheet or of the createTableSyntaxSheet */ { - if (sender != nil) { - [NSApp endSheet:[sender window] returnCode:0]; - } - + [NSApp stopModalWithCode:0]; } /** -- cgit v1.2.3