setup: don't prefill fields when we added succesfully before
This commit is contained in:
parent
c69e71989e
commit
1b7a47d61e
|
@ -368,6 +368,7 @@ namespace SparkleShare {
|
||||||
|
|
||||||
FinishButton.Activated += delegate {
|
FinishButton.Activated += delegate {
|
||||||
InvokeOnMainThread (delegate {
|
InvokeOnMainThread (delegate {
|
||||||
|
Controller.FinishedPageCompleted ();
|
||||||
PerformClose (this);
|
PerformClose (this);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
@ -83,7 +83,7 @@ namespace SparkleShare {
|
||||||
case IconState.Idle:
|
case IconState.Idle:
|
||||||
|
|
||||||
Animation.Stop ();
|
Animation.Stop ();
|
||||||
Console.WriteLine (Controller.Folders.Length);
|
|
||||||
if (Controller.Folders.Length == 0)
|
if (Controller.Folders.Length == 0)
|
||||||
StateText = _("Welcome to SparkleShare!");
|
StateText = _("Welcome to SparkleShare!");
|
||||||
else
|
else
|
||||||
|
|
|
@ -408,6 +408,7 @@ namespace SparkleShare {
|
||||||
Button finish_button = new Button (_("Finish"));
|
Button finish_button = new Button (_("Finish"));
|
||||||
|
|
||||||
finish_button.Clicked += delegate {
|
finish_button.Clicked += delegate {
|
||||||
|
Controller.FinishedPageCompleted ();
|
||||||
Close ();
|
Close ();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue