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
670
670
NSArray *files = [controller.arrangedObjects objectsAtIndexes: rowIndexes];
671
671
NSURL *workingDirectoryURL = self.repository .workingDirectoryURL ;
672
672
673
- NSMutableArray <NSURL *> *URLs = [NSMutableArray arrayWithCapacity: rowIndexes.count];
673
+ NSMutableArray <NSString *> *paths = [NSMutableArray arrayWithCapacity: rowIndexes.count];
674
674
for (PBChangedFile *file in files) {
675
- [URLs addObject: [workingDirectoryURL URLByAppendingPathComponent: file.path]];
675
+ [paths addObject: [[ workingDirectoryURL URLByAppendingPathComponent: file.path] path ]];
676
676
}
677
- [pboard writeObjects: URLs ];
677
+ [pboard setPropertyList: paths forType: NSFilenamesPboardType ];
678
678
679
679
return YES ;
680
680
}
You can’t perform that action at this time.
0 commit comments