set position of window to center

This commit is contained in:
catlan committed 2008-03-01 06:03:42 +00:00
1 parent 210526a796
commit 75c61d0b2d
1 file changed
+1
+1
View File
@@ -30,6 +30,7 @@
+ (void)promptWithHostBundle:(NSBundle *)hb delegate:(id)d
{
id prompt = [[[self class] alloc] initWithHostBundle:hb delegate:d];
[[prompt window] center];
[prompt showWindow:self];
}