Skip to content

Commit

Permalink
Candidate fix for testAddingFileObjectToPasteboard
Browse files Browse the repository at this point in the history
  • Loading branch information
n8henrie committed May 7, 2023
1 parent 34de470 commit 0a096e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Quicksilver/Code-QuickStepCore/QSObject_FileHandling.m
Original file line number Diff line number Diff line change
Expand Up @@ -700,6 +700,7 @@ - (id)initWithArray:(NSArray *)paths {
if ([paths count] == 1) {
NSString *path = [paths lastObject];
[[self dataDictionary] setObject:path forKey:QSFilePathType];
[[self dataDictionary] setObject:path forKey:QSTextType];
if ([[QSReg tableNamed:@"QSFileObjectCreationHandlers"] count]) {
// only get the file UTI if there's actually any QSFileObjectCreationHandlers to check
NSString *uti = [self fileUTI];
Expand Down

0 comments on commit 0a096e6

Please sign in to comment.