aboutsummaryrefslogtreecommitdiffstats
path: root/AuditronAppDelegate.m
diff options
context:
space:
mode:
Diffstat (limited to 'AuditronAppDelegate.m')
-rw-r--r--AuditronAppDelegate.m8
1 files changed, 5 insertions, 3 deletions
diff --git a/AuditronAppDelegate.m b/AuditronAppDelegate.m
index 52426bc..8e36c92 100644
--- a/AuditronAppDelegate.m
+++ b/AuditronAppDelegate.m
@@ -71,8 +71,7 @@
return recipientEmail;
}
--(void) sheetDidEnd:(NSWindow *)sheet returnCode:(int)returnCode contextInfo:(void *)contextInfo {
-
+-(void) sheetDidEnd:(NSWindow *)aSheet returnCode:(int)returnCode contextInfo:(void *)contextInfo {
}
@@ -192,7 +191,10 @@
NSString *prefPath = [[mb resourcePath] stringByAppendingPathComponent:@"prefs.plist"];
[prefs writeToFile:prefPath atomically:YES];
- [configSheet close];
+
+ [configSheet orderOut:sender];
+ [NSApp endSheet:configSheet returnCode:1];
+
}
- (IBAction)build_report:(id)sender