From 65025710b89cc5c2ce0cb28b163751ac982ed0c0 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 17 Jun 2008 09:27:21 -0400 Subject: [PATCH] Center the version check window (when it pops up) and the main window * Source/AppDelegate.m: (versionCheck:) * Source/DebuggerWindowController.m: (awakeFromNib) --- Source/AppDelegate.m | 1 + Source/DebuggerWindowController.m | 1 + 2 files changed, 2 insertions(+) diff --git a/Source/AppDelegate.m b/Source/AppDelegate.m index 0018f2a..6090105 100644 --- a/Source/AppDelegate.m +++ b/Source/AppDelegate.m @@ -93,6 +93,7 @@ { [updateString setStringValue:[NSString stringWithFormat:[updateString stringValue], [comp stringValue]]]; [updateWindow makeKeyAndOrderFront:self]; + [updateWindow center]; } } diff --git a/Source/DebuggerWindowController.m b/Source/DebuggerWindowController.m index 069f77b..98732a0 100644 --- a/Source/DebuggerWindowController.m +++ b/Source/DebuggerWindowController.m @@ -49,6 +49,7 @@ { [self setStatus:@"Connecting"]; [[self window] setExcludedFromWindowsMenu:YES]; + [[self window] center]; [sourceViewer setDelegate:self]; } -- 2.43.5