aboutsummaryrefslogtreecommitdiffstats
path: root/TableDocument.m
diff options
context:
space:
mode:
authormltownsend <mltownsend@gmail.com>2008-11-04 06:19:51 +0000
committermltownsend <mltownsend@gmail.com>2008-11-04 06:19:51 +0000
commit87173093000bc5c36962451cc3e58c9aaac5ab50 (patch)
treec80e0c6b7947471c47e5d4be752d246789f50752 /TableDocument.m
parent3e703c2a782dc56a03e080b5422b317d150bf482 (diff)
downloadsequelpro-87173093000bc5c36962451cc3e58c9aaac5ab50.tar.gz
sequelpro-87173093000bc5c36962451cc3e58c9aaac5ab50.tar.bz2
sequelpro-87173093000bc5c36962451cc3e58c9aaac5ab50.zip
Changed the closeSheet: method back to it's original
Diffstat (limited to 'TableDocument.m')
-rw-r--r--TableDocument.m5
1 files changed, 1 insertions, 4 deletions
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];
}
/**