setup: update Continue button when needed
This commit is contained in:
parent
1cdc2193e8
commit
0c75dee12c
|
@ -119,6 +119,12 @@ namespace SparkleShare {
|
|||
AddButton (NextButton);
|
||||
Add (Table);
|
||||
|
||||
Controller.UpdateSetupContinueButtonEvent += delegate (bool button_enabled) {
|
||||
Application.Invoke (delegate {
|
||||
NextButton.Sensitive = button_enabled;
|
||||
});
|
||||
};
|
||||
|
||||
Controller.CheckSetupPage (NameEntry.Text, EmailEntry.Text);
|
||||
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue