Changeset 12944
- Timestamp:
- Oct 6, 2011, 2:27:23 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r12943 r12944 1018 1018 if (code == NSOKButton) 1019 1019 { 1020 NSDictionary * dictionary = [[NSDictionary alloc] initWithObjectsAndKeys: [panel filenames], @"Filenames", 1020 NSMutableArray * filenames = [NSMutableArray arrayWithCapacity: [[panel URLs] count]]; 1021 for (NSURL * url in [panel URLs]) 1022 [filenames addObject: [url path]]; 1023 1024 NSDictionary * dictionary = [[NSDictionary alloc] initWithObjectsAndKeys: filenames, @"Filenames", 1021 1025 [NSNumber numberWithInt: [useOptions boolValue] ? ADD_SHOW_OPTIONS : ADD_MANUAL], @"AddType", nil]; 1022 1026 [self performSelectorOnMainThread: @selector(openFilesWithDict:) withObject: dictionary waitUntilDone: NO];
Note: See TracChangeset
for help on using the changeset viewer.