fix count issue in spinner

This commit is contained in:
Hylke Bons 2010-05-07 15:58:20 +01:00
parent 128238b55f
commit df138c5f78

View file

@ -68,7 +68,7 @@ namespace SparkleShare {
if (CurrentStep < NumSteps) if (CurrentStep < NumSteps)
CurrentStep++; CurrentStep++;
else else
CurrentStep = 1; CurrentStep = 0;
Pixbuf = Images [CurrentStep]; Pixbuf = Images [CurrentStep];
} }
@ -77,7 +77,8 @@ namespace SparkleShare {
} }
public void Start () { public void Start () {
Active = true; CurrentStep = 0;
Active = true;
Timer.Start (); Timer.Start ();
} }