diff options
author | mltownsend <mltownsend@gmail.com> | 2008-11-04 06:19:51 +0000 |
---|---|---|
committer | mltownsend <mltownsend@gmail.com> | 2008-11-04 06:19:51 +0000 |
commit | 87173093000bc5c36962451cc3e58c9aaac5ab50 (patch) | |
tree | c80e0c6b7947471c47e5d4be752d246789f50752 /TableDocument.m | |
parent | 3e703c2a782dc56a03e080b5422b317d150bf482 (diff) | |
download | sequelpro-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.m | 5 |
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]; } /** |