aboutsummaryrefslogtreecommitdiffstats
path: root/AuditronAppDelegate.m
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2011-07-12 17:05:59 +0300
committerFilipp Lepalaan <filipp@mac.com>2011-07-12 17:05:59 +0300
commit73a9535df445a29305383a8fb1e80b6c471639bc (patch)
tree78dd1dc929e8b0fe79ae4f93521e11944f63b4e9 /AuditronAppDelegate.m
parentdc850078e5c33a7450d584efa7407d5f994bd434 (diff)
downloadAuditron-73a9535df445a29305383a8fb1e80b6c471639bc.tar.gz
Auditron-73a9535df445a29305383a8fb1e80b6c471639bc.tar.bz2
Auditron-73a9535df445a29305383a8fb1e80b6c471639bc.zip
Fixed showing reporting sheet after settings prefs
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