Changeset 993


Ignore:
Timestamp:
Oct 11, 2006, 7:01:49 PM (16 years ago)
Author:
livings124
Message:

if a transfer does not start because of not enough disk space, start next in queue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r989 r993  
    464464        [alert addButtonWithTitle: @"Download Anyway"];
    465465       
    466         return [alert runModal] != NSAlertFirstButtonReturn;
     466        if ([alert runModal] == NSAlertFirstButtonReturn)
     467        {
     468            [[NSNotificationCenter defaultCenter] postNotificationName: @"StoppedDownloading" object: self];
     469            return NO;
     470        }
     471        else
     472            return YES;
    467473    }
    468474    return YES;
Note: See TracChangeset for help on using the changeset viewer.