setup: Focus on entry fields on first start
This commit is contained in:
parent
9d0bc1b7f1
commit
6fae6d892d
|
@ -117,6 +117,11 @@ namespace SparkleShare {
|
||||||
Add (wrapper);
|
Add (wrapper);
|
||||||
|
|
||||||
Controller.CheckSetupPage (name_entry.Text, email_entry.Text);
|
Controller.CheckSetupPage (name_entry.Text, email_entry.Text);
|
||||||
|
|
||||||
|
if (name_entry.Text.Equals (""))
|
||||||
|
name_entry.GrabFocus ();
|
||||||
|
else
|
||||||
|
email_entry.GrabFocus ();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (type == PageType.Add) {
|
if (type == PageType.Add) {
|
||||||
|
|
Loading…
Reference in a new issue