Center prefs window after switching to the proper view.

This commit is contained in:
Brent Simmons 2019-08-23 18:30:14 -07:00
parent cc7321e936
commit 4bead42b5a
1 changed files with 2 additions and 1 deletions

View File

@ -49,9 +49,10 @@ class PreferencesWindowController : NSWindowController, NSToolbarDelegate {
window?.showsToolbarButton = false
window?.toolbar = toolbar
window?.center()
switchToViewAtIndex(0)
window?.center()
}
// MARK: Actions