setup: Focus on entry fields on first start

This commit is contained in:
Hylke Bons 2013-10-09 20:14:18 +02:00
parent 9d0bc1b7f1
commit 6fae6d892d

View file

@ -117,6 +117,11 @@ namespace SparkleShare {
Add (wrapper);
Controller.CheckSetupPage (name_entry.Text, email_entry.Text);
if (name_entry.Text.Equals (""))
name_entry.GrabFocus ();
else
email_entry.GrabFocus ();
}
if (type == PageType.Add) {