mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
#3643 When saving a copy of the torrent file, don't allow the extension to be hidden
This commit is contained in:
@@ -1531,7 +1531,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
||||
{
|
||||
NSSavePanel * panel = [NSSavePanel savePanel];
|
||||
[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
|
||||
didEndSelector: @selector(saveTorrentCopySheetClosed:returnCode:contextInfo:) contextInfo: torrents];
|
||||
|
||||
Reference in New Issue
Block a user