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

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