fix: ensure prefs window is centered the first time shown (#4659)
This commit is contained in:
parent
f24368efb7
commit
f01191edbc
|
@ -209,6 +209,8 @@ static NSString* const kWebUIURLFormat = @"http://localhost:%ld/";
|
||||||
self.window.toolbar = toolbar;
|
self.window.toolbar = toolbar;
|
||||||
|
|
||||||
[self setWindowSize];
|
[self setWindowSize];
|
||||||
|
[self.window center];
|
||||||
|
|
||||||
[self setPrefView:nil];
|
[self setPrefView:nil];
|
||||||
|
|
||||||
//set special-handling of magnet link add window checkbox
|
//set special-handling of magnet link add window checkbox
|
||||||
|
|
Loading…
Reference in New Issue