diff options
author | Damiano Galassi <[email protected]> | 2016-12-31 08:40:51 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2016-12-31 09:09:23 +0100 |
commit | d823e6efafd63327a7d878fa96e5787d07790417 (patch) | |
tree | 3dbdc62565c29e17b0fdfc9b6cfdaa08a37064a8 /macosx | |
parent | f01f4a83e1a495ab02abfb415d2d3e08c7f42e38 (diff) |
MacGui: allow only .app to be selected in the "send file to" open panel.
(cherry picked from commit a180930c5bc24b4ca594d8e40911dfd80970e735)
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/HBPreferencesController.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/macosx/HBPreferencesController.m b/macosx/HBPreferencesController.m index d125782bd..16bc32170 100644 --- a/macosx/HBPreferencesController.m +++ b/macosx/HBPreferencesController.m @@ -188,6 +188,7 @@ [panel setAllowsMultipleSelection:NO]; [panel setCanChooseFiles:YES]; [panel setCanChooseDirectories:NO]; + [panel setAllowedFileTypes:@[@"app"]]; NSString *sendToAppDirectory; if ([[NSUserDefaults standardUserDefaults] stringForKey:@"LastSendToAppDirectory"]) |