(trunk) make sure the creator window size/placement is saved correctly
This commit is contained in:
parent
34afe5f0d0
commit
980b09522c
|
@ -64,7 +64,7 @@
|
||||||
- (id) initWithHandle: (tr_session *) handle path: (NSString *) path
|
- (id) initWithHandle: (tr_session *) handle path: (NSString *) path
|
||||||
{
|
{
|
||||||
if ((self = [super initWithWindowNibName: @"Creator"]))
|
if ((self = [super initWithWindowNibName: @"Creator"]))
|
||||||
{
|
{//NSLog([[self window] frameAutosaveName]);
|
||||||
fStarted = NO;
|
fStarted = NO;
|
||||||
|
|
||||||
fPath = [path retain];
|
fPath = [path retain];
|
||||||
|
@ -479,6 +479,7 @@
|
||||||
[fProgressView setHidden: YES];
|
[fProgressView setHidden: YES];
|
||||||
|
|
||||||
NSWindow * window = [self window];
|
NSWindow * window = [self window];
|
||||||
|
[window setFrameAutosaveName: @""];
|
||||||
|
|
||||||
NSRect windowRect = [window frame];
|
NSRect windowRect = [window frame];
|
||||||
CGFloat difference = [fProgressView frame].size.height - [[window contentView] frame].size.height;
|
CGFloat difference = [fProgressView frame].size.height - [[window contentView] frame].size.height;
|
||||||
|
|
Loading…
Reference in New Issue