aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2009-06-21 15:02:44 +0000
committerstuconnolly <stuart02@gmail.com>2009-06-21 15:02:44 +0000
commitb4a259970d826d45145dd5fd3f43bcab5208d700 (patch)
treeeca911cad294f57feeffa2e7df91cca1057d25ee /Source
parent873774069986e899c61e10319336b8ac67ba7ebf (diff)
downloadsequelpro-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.m4
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];
}
}
}