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
1 changed files with 2 additions and 0 deletions

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