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:
parent
f24368efb7
commit
f01191edbc
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue