mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
#3442 Default text visible in blocklist updater
This commit is contained in:
parent
05c1879b22
commit
c2abea4260
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue