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