Changeset 9579


Ignore:
Timestamp:
Nov 26, 2009, 2:32:02 AM (13 years ago)
Author:
livings124
Message:

fix a crash with magnet links and file list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r9578 r9579  
    15721572    fResumeOnWake = NO;
    15731573       
    1574     [self createFileList];
     1574    if (![self isMagnet])
     1575        [self createFileList];
    15751576       
    15761577    fGroupValue = groupValue ? [groupValue intValue] : [[GroupsController groups] groupIndexForTorrent: self];
     
    15871588- (void) createFileList
    15881589{
     1590    NSAssert(![self isMagnet], @"Cannot create a file list until the torrent is demagnetized");
     1591   
    15891592    if ([self isFolder])
    15901593    {
Note: See TracChangeset for help on using the changeset viewer.