Ignore:
Timestamp:
Oct 30, 2012, 12:22:10 AM (9 years ago)
Author:
livings124
Message:

#2794 Don't apply auto-grouping until torrent is demagnetized

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r13578 r13602  
    533533                    name: @"TorrentFinishedSeeding" object: nil];
    534534   
     535    [nc addObserver: self selector: @selector(applyFilter)
     536                    name: kTorrentDidChangeGroupNotification object: nil];
     537   
    535538    //avoids need of setting delegate
    536539    [nc addObserver: self selector: @selector(torrentTableViewSelectionDidChange:)
     
    947950        {
    948951            location = [[GroupsController groups] customDownloadLocationForIndex: [torrent groupValue]];
    949             [torrent changeDownloadFolderBeforeUsing: location];
     952            [torrent changeDownloadFolderBeforeUsing: location determinationType: TorrentDeterminationAutomatic];
    950953        }
    951954       
     
    10441047    {
    10451048        location = [[GroupsController groups] customDownloadLocationForIndex: [torrent groupValue]];
    1046         [torrent changeDownloadFolderBeforeUsing: location];
     1049        [torrent changeDownloadFolderBeforeUsing: location determinationType: TorrentDeterminationAutomatic];
    10471050    }
    10481051   
     
    28482851        [fTableView removeCollapsedGroup: [torrent groupValue]]; //remove old collapsed group
    28492852       
    2850         [torrent setGroupValue: [(NSMenuItem *)sender tag]];
     2853        [torrent setGroupValue: [(NSMenuItem *)sender tag] determinationType: TorrentDeterminationUserSpecified];
    28512854    }
    28522855   
     
    31973200            //change groups
    31983201            if (item)
    3199                 [torrent setGroupValue: [item groupIndex]];
     3202                [torrent setGroupValue: [item groupIndex] determinationType: TorrentDeterminationUserSpecified];
    32003203        }
    32013204       
     
    47874790    {
    47884791        location = [[GroupsController groups] customDownloadLocationForIndex: [torrent groupValue]];
    4789         [torrent changeDownloadFolderBeforeUsing: location];
     4792        [torrent changeDownloadFolderBeforeUsing: location determinationType: TorrentDeterminationAutomatic];
    47904793    }
    47914794   
Note: See TracChangeset for help on using the changeset viewer.