more love for users having problem with the torrent file UTI

This commit is contained in:
Mitchell Livingston
2009-06-11 23:02:54 +00:00
parent 4c60377168
commit 52454105b2
2 changed files with 3 additions and 3 deletions

View File

@@ -213,7 +213,7 @@
[panel setMessage: NSLocalizedString(@"Select the name and location for the torrent file.",
"Create torrent -> location sheet -> message")];
[panel setRequiredFileType: @"org.bittorrent.torrent"];
[panel setAllowedFileTypes: [NSArray arrayWithObjects: @"org.bittorrent.torrent", @"torrent", nil]];
[panel setCanSelectHiddenExtension: YES];
[panel beginSheetForDirectory: [fLocation stringByDeletingLastPathComponent] file: [fLocation lastPathComponent]