Ignore:
Timestamp:
Aug 22, 2006, 11:00:53 PM (16 years ago)
Author:
livings124
Message:

Option to save log.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r807 r828  
    865865        [panel setCanSelectHiddenExtension: YES];
    866866       
    867         [panel beginSheetForDirectory: nil file: [torrent name]
    868             modalForWindow: fWindow modalDelegate: self didEndSelector:
    869             @selector(saveTorrentCopySheetClosed:returnCode:contextInfo:) contextInfo: torrents];
    870     }
    871 }
    872 
    873 - (void) saveTorrentCopySheetClosed: (NSSavePanel *) panel returnCode: (int) code
    874     contextInfo: (NSMutableArray *) torrents
     867        [panel beginSheetForDirectory: nil file: [torrent name] modalForWindow: fWindow modalDelegate: self
     868            didEndSelector: @selector(saveTorrentCopySheetClosed:returnCode:contextInfo:) contextInfo: torrents];
     869    }
     870}
     871
     872- (void) saveTorrentCopySheetClosed: (NSSavePanel *) panel returnCode: (int) code contextInfo: (NSMutableArray *) torrents
    875873{
    876874    //if save successful, copy torrent to new location with name of data file
     
    880878   
    881879    [torrents removeObjectAtIndex: 0];
    882     [self performSelectorOnMainThread: @selector(copyTorrentFileForTorrents:)
    883                 withObject: torrents waitUntilDone: NO];
     880    [self performSelectorOnMainThread: @selector(copyTorrentFileForTorrents:) withObject: torrents waitUntilDone: NO];
    884881}
    885882
Note: See TracChangeset for help on using the changeset viewer.