Changeset 722


Ignore:
Timestamp:
Aug 6, 2006, 5:12:32 PM (15 years ago)
Author:
livings124
Message:

Don't make window modal for sheet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r721 r722  
    476476            [panel setMessage: [NSString stringWithFormat: @"Select the download folder for \"%@\"", [torrent name]]];
    477477
    478             [panel beginSheetForDirectory: nil file: nil types: nil
    479                 modalForWindow: fWindow modalDelegate: self didEndSelector:
    480                 @selector( folderChoiceClosed:returnCode:contextInfo: )
    481                 contextInfo: torrent];
    482             [NSApp runModalForWindow: panel];
     478            [panel beginSheetForDirectory: nil file: nil types: nil modalForWindow: fWindow modalDelegate: self
     479                        didEndSelector: @selector(folderChoiceClosed:returnCode:contextInfo:) contextInfo: torrent];
    483480        }
    484481        else
     
    515512        [fTorrents addObject: torrent];
    516513    }
    517    
    518     [NSApp stopModal];
    519514}
    520515
Note: See TracChangeset for help on using the changeset viewer.