Make username/email field the initially selected field when showing the add dialogs.

This commit is contained in:
Maurice Parker 2020-11-06 19:42:20 -06:00
parent d023d70c92
commit 7a2c4cef9a
4 changed files with 8 additions and 0 deletions

View File

@ -41,6 +41,8 @@ class AccountsFeedWranglerWindowController: NSWindowController {
actionButton.title = NSLocalizedString("Create", comment: "Create")
signInTextField.stringValue = NSLocalizedString("Sign in to your Feed Wrangler account.", comment: "SignIn")
}
usernameTextField.becomeFirstResponder()
}
// MARK: API

View File

@ -41,6 +41,8 @@ class AccountsFeedbinWindowController: NSWindowController {
actionButton.title = NSLocalizedString("Create", comment: "Add Account")
signInTextField.stringValue = NSLocalizedString("Sign in to your Feedbin account.", comment: "SignIn")
}
usernameTextField.becomeFirstResponder()
}
// MARK: API

View File

@ -41,6 +41,8 @@ class AccountsNewsBlurWindowController: NSWindowController {
actionButton.title = NSLocalizedString("Create", comment: "Create")
signInTextField.stringValue = NSLocalizedString("Sign in to your NewsBlur account.", comment: "SignIn")
}
usernameTextField.becomeFirstResponder()
}
// MARK: API

View File

@ -70,6 +70,8 @@ class AccountsReaderAPIWindowController: NSWindowController {
} else {
actionButton.title = NSLocalizedString("Create", comment: "Create")
}
usernameTextField.becomeFirstResponder()
}
// MARK: API