Skip to content

Commit

Permalink
For the Open (file) With... action don't show the default app in the …
Browse files Browse the repository at this point in the history
…3rd pane

Means that ⌘⇧letter combos don't work. Any anyway, if the user wanted to open with the default app they'd just use the 'open' action
  • Loading branch information
pjrobertson committed Jun 9, 2012
1 parent 47cbcc2 commit 1cdbd7e
Showing 1 changed file with 1 addition and 5 deletions.
Expand Up @@ -322,12 +322,8 @@ - (NSArray *)validIndirectObjectsForAction:(NSString *)action directObject:(QSOb

validIndirects = [[QSLibrarian sharedInstance] scoredArrayForString:nil inSet:[QSObject fileObjectsWithURLArray:[set allObjects]]];

id preferred = [QSObject fileObjectWithPath:[appURL path]];
if (!preferred)
preferred = [NSNull null];

[appURL release];
return [NSArray arrayWithObjects:preferred, validIndirects, nil];
return [NSArray arrayWithObjects:[NSNull null], validIndirects, nil];
} else if ([action isEqualToString:kFileRenameAction]) {
// return a text object (empty text box) to rename a file
NSString *path = [dObject singleFilePath];
Expand Down

0 comments on commit 1cdbd7e

Please sign in to comment.