mac setup: Focus on email field if name is already filled in
This commit is contained in:
parent
b71ac02dd9
commit
6c4638cf7b
|
@ -133,6 +133,11 @@ namespace SparkleShare {
|
||||||
Buttons.Add (CancelButton);
|
Buttons.Add (CancelButton);
|
||||||
|
|
||||||
Controller.CheckSetupPage (FullNameTextField.StringValue, EmailTextField.StringValue);
|
Controller.CheckSetupPage (FullNameTextField.StringValue, EmailTextField.StringValue);
|
||||||
|
|
||||||
|
if (FullNameTextField.StringValue.Equals (""))
|
||||||
|
MakeFirstResponder ((NSResponder) FullNameTextField);
|
||||||
|
else
|
||||||
|
MakeFirstResponder ((NSResponder) EmailTextField);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (type == PageType.Invite) {
|
if (type == PageType.Invite) {
|
||||||
|
|
Loading…
Reference in a new issue