mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
Redo spacing on general prefs a little.
This commit is contained in:
@@ -2129,10 +2129,8 @@ static void sleepCallBack(void * controller, io_service_t y,
|
||||
|
||||
- (void) setWindowSizeToFit
|
||||
{
|
||||
if (![fDefaults boolForKey: @"AutoSize"])
|
||||
return;
|
||||
|
||||
[fWindow setFrame: [self windowFrameFor: [fTorrents count]] display: YES animate: YES];
|
||||
if ([fDefaults boolForKey: @"AutoSize"])
|
||||
[fWindow setFrame: [self windowFrameFor: [fTorrents count]] display: YES animate: YES];
|
||||
}
|
||||
|
||||
- (NSRect) windowFrameFor: (int) count
|
||||
|
||||
Reference in New Issue
Block a user