#3442 Default text visible in blocklist updater

This commit is contained in:
Mitchell Livingston 2010-07-21 05:13:25 +00:00
parent 05c1879b22
commit c2abea4260
1 changed files with 3 additions and 2 deletions

View File

@ -139,10 +139,11 @@
{
//load window and show as sheet
[NSBundle loadNibNamed: @"BlocklistStatusWindow" owner: self];
[NSApp beginSheet: fStatusWindow modalForWindow: [fPrefsController window] modalDelegate: nil didEndSelector: nil contextInfo: nil];
BlocklistDownloader * downloader = [BlocklistDownloader downloader];
[downloader setViewController: self];
[downloader setViewController: self]; //do before showing the sheet to ensure it doesn't slide out with placeholder text
[NSApp beginSheet: fStatusWindow modalForWindow: [fPrefsController window] modalDelegate: nil didEndSelector: nil contextInfo: nil];
}
- (void) failureSheetClosed: (NSAlert *) alert returnCode: (NSInteger) code contextInfo: (void *) info