mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
[macOS] Apply ObjC modernizations once again. (#3358)
This doesn't include designated initializers refactoring.
This commit is contained in:
committed by
GitHub
parent
88a3149ce4
commit
37f7f83d4d
@@ -133,7 +133,7 @@ BlocklistDownloaderViewController* fBLViewController = nil;
|
||||
[NSBundle.mainBundle loadNibNamed:@"BlocklistStatusWindow" owner:self topLevelObjects:NULL];
|
||||
|
||||
BlocklistDownloader* downloader = [BlocklistDownloader downloader];
|
||||
[downloader setViewController:self]; //do before showing the sheet to ensure it doesn't slide out with placeholder text
|
||||
downloader.viewController = self; //do before showing the sheet to ensure it doesn't slide out with placeholder text
|
||||
|
||||
[self.fPrefsController.window beginSheet:self.fStatusWindow completionHandler:nil];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user