setup: update Continue button when needed
This commit is contained in:
parent
b14710f22a
commit
78550a68f9
|
@ -118,6 +118,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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue