Ignore:
Timestamp:
Nov 28, 2009, 5:44:47 PM (13 years ago)
Author:
livings124
Message:

apply auto-group custom locations for magnet links

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r9606 r9615  
    390390                                + [fTableView rowHeight] + [fTableView intercellSpacing].height;
    391391    [fWindow setContentMinSize: contentMinSize];
    392     [fWindow setContentBorderThickness: [[fTableView enclosingScrollView] frame].origin.y forEdge: NSMinYEdge];
     392    [fWindow setContentBorderThickness: NSMinY([[fTableView enclosingScrollView] frame]) forEdge: NSMinYEdge];
    393393       
    394394    [[fTotalTorrentsField cell] setBackgroundStyle: NSBackgroundStyleRaised];
     
    949949    #warning show add window perhaps?
    950950   
     951   
     952    //change the location if the group calls for it (this has to wait until after the torrent is created)
     953    if ([[GroupsController groups] usesCustomDownloadLocationForIndex: [torrent groupValue]])
     954    {
     955        NSString * location = [[GroupsController groups] customDownloadLocationForIndex: [torrent groupValue]];
     956        [torrent changeDownloadFolderBeforeUsing: location];
     957    }
     958   
    951959    #warning should we do this?
    952960    [torrent setWaitToStart: [fDefaults boolForKey: @"AutoStartDownload"]];
    953    
    954     #warning should set group
    955961   
    956962    [torrent update];
Note: See TracChangeset for help on using the changeset viewer.