Show
Ignore:
Timestamp:
08/02/09 18:23:09 (3 years ago)
Author:
gbooker
Message:

Don't attempt to go through file scan if no collections are available.
Refs #292

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/CoreData/SapphireFrappliance/MetaDataImporting/SapphireImporterDataMenu.m

    r782 r873  
    227227                [skipSet release]; 
    228228                skipSet = [[NSMutableSet alloc] initWithSet:[skipCol valueForKeyPath:@"directory.path"]]; 
    229                 [self getItems]; 
     229                if([collectionDirectories count]) 
     230                        [self getItems]; 
     231                else 
     232                        [self gotSubFiles:[NSArray array]]; 
    230233        } 
    231234        @catch (NSException * e) {