Changeset 538


Ignore:
Timestamp:
Jul 6, 2006, 2:29:05 AM (16 years ago)
Author:
livings124
Message:

A bit of a workaround for the weird behavior of adding a file extension when saving a torrent copy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r537 r538  
    701701        NSSavePanel * panel = [NSSavePanel savePanel];
    702702        [panel setRequiredFileType: @"torrent"];
    703         [panel setCanSelectHiddenExtension: NO];
    704         [panel setExtensionHidden: NO];
     703        [panel setCanSelectHiddenExtension: YES];
    705704       
    706705        [panel beginSheetForDirectory: nil file: [torrent name]
    707706            modalForWindow: fWindow modalDelegate: self didEndSelector:
    708             @selector( saveTorrentCopySheetClosed:returnCode:contextInfo: )
    709             contextInfo: torrents];
     707            @selector(saveTorrentCopySheetClosed:returnCode:contextInfo:) contextInfo: torrents];
    710708    }
    711709}
Note: See TracChangeset for help on using the changeset viewer.