mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
#3643 When saving a copy of the torrent file, don't allow the extension to be hidden
This commit is contained in:
parent
d365c40958
commit
458f2d603f
1 changed files with 1 additions and 1 deletions
|
@ -1531,7 +1531,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
||||||
{
|
{
|
||||||
NSSavePanel * panel = [NSSavePanel savePanel];
|
NSSavePanel * panel = [NSSavePanel savePanel];
|
||||||
[panel setAllowedFileTypes: [NSArray arrayWithObjects: @"org.bittorrent.torrent", @"torrent", nil]];
|
[panel setAllowedFileTypes: [NSArray arrayWithObjects: @"org.bittorrent.torrent", @"torrent", nil]];
|
||||||
[panel setCanSelectHiddenExtension: YES];
|
[panel setExtensionHidden: NO];
|
||||||
|
|
||||||
[panel beginSheetForDirectory: nil file: [torrent name] modalForWindow: fWindow modalDelegate: self
|
[panel beginSheetForDirectory: nil file: [torrent name] modalForWindow: fWindow modalDelegate: self
|
||||||
didEndSelector: @selector(saveTorrentCopySheetClosed:returnCode:contextInfo:) contextInfo: torrents];
|
didEndSelector: @selector(saveTorrentCopySheetClosed:returnCode:contextInfo:) contextInfo: torrents];
|
||||||
|
|
Loading…
Reference in a new issue