aboutsummaryrefslogtreecommitdiffstats
path: root/AuditronAppDelegate.m
diff options
context:
space:
mode:
Diffstat (limited to 'AuditronAppDelegate.m')
-rw-r--r--AuditronAppDelegate.m7
1 files changed, 5 insertions, 2 deletions
diff --git a/AuditronAppDelegate.m b/AuditronAppDelegate.m
index 8e36c92..8f93f81 100644
--- a/AuditronAppDelegate.m
+++ b/AuditronAppDelegate.m
@@ -225,6 +225,11 @@
}
+-(void) awakeFromNib
+{
+ [window center];
+}
+
-(void) openPanelDidEnd:(NSOpenPanel *) openPanel returnCode:(int)returnCode contextInfo:(void *)x
{
NSString *path;
@@ -395,8 +400,6 @@
[self setRecipientEmail:[prefs valueForKey:@"email"]];
}
- [window center];
-
}
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {