1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-10 14:13:23 +00:00

fix: ensure prefs window is centered the first time shown (#4659)

This commit is contained in:
Charles Kerr 2023-01-25 14:30:06 -06:00 committed by GitHub
parent f24368efb7
commit f01191edbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -209,6 +209,8 @@ static NSString* const kWebUIURLFormat = @"http://localhost:%ld/";
self.window.toolbar = toolbar;
[self setWindowSize];
[self.window center];
[self setPrefView:nil];
//set special-handling of magnet link add window checkbox