(trunk) make sure the creator window size/placement is saved correctly

This commit is contained in:
Mitchell Livingston 2009-09-12 01:00:54 +00:00
parent 34afe5f0d0
commit 980b09522c
1 changed files with 2 additions and 1 deletions

View File

@ -64,7 +64,7 @@
- (id) initWithHandle: (tr_session *) handle path: (NSString *) path
{
if ((self = [super initWithWindowNibName: @"Creator"]))
{
{//NSLog([[self window] frameAutosaveName]);
fStarted = NO;
fPath = [path retain];
@ -479,6 +479,7 @@
[fProgressView setHidden: YES];
NSWindow * window = [self window];
[window setFrameAutosaveName: @""];
NSRect windowRect = [window frame];
CGFloat difference = [fProgressView frame].size.height - [[window contentView] frame].size.height;