File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -670,11 +670,11 @@ - (BOOL)tableView:(NSTableView *)tv writeRowsWithIndexes:(NSIndexSet *)rowIndexe
670670 NSArray *files = [controller.arrangedObjects objectsAtIndexes: rowIndexes];
671671 NSURL *workingDirectoryURL = self.repository .workingDirectoryURL ;
672672
673- NSMutableArray <NSURL *> *URLs = [NSMutableArray arrayWithCapacity: rowIndexes.count];
673+ NSMutableArray <NSString *> *paths = [NSMutableArray arrayWithCapacity: rowIndexes.count];
674674 for (PBChangedFile *file in files) {
675- [URLs addObject: [workingDirectoryURL URLByAppendingPathComponent: file.path]];
675+ [paths addObject: [[ workingDirectoryURL URLByAppendingPathComponent: file.path] path ]];
676676 }
677- [pboard writeObjects: URLs ];
677+ [pboard setPropertyList: paths forType: NSFilenamesPboardType ];
678678
679679 return YES ;
680680}
You can’t perform that action at this time.
0 commit comments