summaryrefslogtreecommitdiff
path: root/pkg/osx/IWADController.m
diff options
context:
space:
mode:
authorSimon Howard2010-01-15 18:51:35 +0000
committerSimon Howard2010-01-15 18:51:35 +0000
commitcd8cf5f1c8c0e6a86ddc3322f33acc29698009f5 (patch)
tree9f843ef2ac0947a1e1971e178299a52c6c8ceb80 /pkg/osx/IWADController.m
parent571b9c32f5e054f131abb9c1d0d68eb4c784a764 (diff)
downloadchocolate-doom-cd8cf5f1c8c0e6a86ddc3322f33acc29698009f5.tar.gz
chocolate-doom-cd8cf5f1c8c0e6a86ddc3322f33acc29698009f5.tar.bz2
chocolate-doom-cd8cf5f1c8c0e6a86ddc3322f33acc29698009f5.zip
Center the launcher window and config window on startup.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1815
Diffstat (limited to 'pkg/osx/IWADController.m')
-rw-r--r--pkg/osx/IWADController.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/osx/IWADController.m b/pkg/osx/IWADController.m
index f1860301..783ee38f 100644
--- a/pkg/osx/IWADController.m
+++ b/pkg/osx/IWADController.m
@@ -250,6 +250,8 @@ static NSString *IWADFilenames[NUM_IWAD_TYPES + 1] =
- (void) awakeFromNib
{
+ [self->configWindow center];
+
// Set configuration for all IWADs from configuration file.
[self setIWADConfig];