repo base: Don't call SyncUp on Resume when there aren't any changes

This commit is contained in:
Hylke Bons 2014-10-31 16:37:13 +00:00
parent 0d5188c160
commit 840ef0b961

View file

@ -593,7 +593,12 @@ namespace SparkleLib {
this.local_config.SetFolderOptionalAttribute (Name, "paused", bool.FalseString);
Status = SyncStatus.Idle;
SyncUpBase ();
if (HasUnsyncedChanges || HasLocalChanges) {
do {
SyncUpBase ();
} while (HasLocalChanges);
}
}
}