mirror of
https://github.com/transmission/transmission
synced 2025-03-12 07:03:44 +00:00
(trunk) make sure the creator window size/placement is saved correctly
This commit is contained in:
parent
34afe5f0d0
commit
980b09522c
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue