diff options
author | stuconnolly <stuart02@gmail.com> | 2009-06-21 15:02:44 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2009-06-21 15:02:44 +0000 |
commit | b4a259970d826d45145dd5fd3f43bcab5208d700 (patch) | |
tree | eca911cad294f57feeffa2e7df91cca1057d25ee /Source | |
parent | 873774069986e899c61e10319336b8ac67ba7ebf (diff) | |
download | sequelpro-b4a259970d826d45145dd5fd3f43bcab5208d700.tar.gz sequelpro-b4a259970d826d45145dd5fd3f43bcab5208d700.tar.bz2 sequelpro-b4a259970d826d45145dd5fd3f43bcab5208d700.zip |
Typo, should be the sheet not the window.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/MainController.m | 4 |
1 files changed, 2 insertions, 2 deletions
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]; } } } |