mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
(trunk) make sure the creator window size/placement is saved correctly
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user