Changeset 12711


Ignore:
Timestamp:
Aug 21, 2011, 4:28:16 PM (10 years ago)
Author:
livings124
Message:

when adding a transfer from the Add window, put the torrent at the bottom of the queue (of currently added transfers)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r12710 r12711  
    505505                    name: @"MakeWindowKey" object: nil];
    506506   
    507 #warning look at this
    508507    [nc addObserver: self selector: @selector(fullUpdateUI)
    509508                    name: @"UpdateQueue" object: nil];
     
    916915    if (add)
    917916    {
     917        [torrent setQueuePosition: [fTorrents count]];
     918       
    918919        [torrent update];
    919920        [fTorrents addObject: torrent];
    920921        [torrent release];
    921        
    922         #warning set to bottom of queue
    923922       
    924923        [self fullUpdateUI];
     
    987986    if (add)
    988987    {
     988        [torrent setQueuePosition: [fTorrents count]];
     989       
    989990        [torrent update];
    990991        [fTorrents addObject: torrent];
    991992        [torrent release];
    992        
    993         #warning set to bottom of queue
    994993       
    995994        [self fullUpdateUI];
Note: See TracChangeset for help on using the changeset viewer.