Changeset 1332


Ignore:
Timestamp:
Jan 9, 2007, 2:58:05 PM (15 years ago)
Author:
livings124
Message:

enable queue menu items for queued seeds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r1331 r1332  
    23562356    if (action == @selector(resumeWaitingTorrents:))
    23572357    {
    2358         if (![fDefaults boolForKey: @"Queue"])
     2358        if (![fDefaults boolForKey: @"Queue"] && ![fDefaults boolForKey: @"QueueSeed"])
    23592359            return NO;
    23602360   
     
    23622362        NSEnumerator * enumerator = [fTorrents objectEnumerator];
    23632363        while ((torrent = [enumerator nextObject]))
    2364             if ([torrent waitingToStart])
     2364            if (![torrent isActive] && [torrent waitingToStart])
    23652365                return YES;
    23662366        return NO;
     
    23702370    if (action == @selector(resumeSelectedTorrentsNoWait:))
    23712371    {
    2372         if (![fDefaults boolForKey: @"Queue"])
     2372        if (![fDefaults boolForKey: @"Queue"] && ![fDefaults boolForKey: @"QueueSeed"])
    23732373            return NO;
    23742374   
     
    23772377        while ((torrent = [enumerator nextObject]))
    23782378        {
    2379             if ([torrent isPaused] && [torrent progress] < 1.0)
     2379            if (![torrent isActive])
    23802380                return YES;
    23812381        }
Note: See TracChangeset for help on using the changeset viewer.