repo base: Don't call SyncUp on Resume when there aren't any changes
This commit is contained in:
parent
0d5188c160
commit
840ef0b961
|
@ -593,7 +593,12 @@ namespace SparkleLib {
|
||||||
this.local_config.SetFolderOptionalAttribute (Name, "paused", bool.FalseString);
|
this.local_config.SetFolderOptionalAttribute (Name, "paused", bool.FalseString);
|
||||||
Status = SyncStatus.Idle;
|
Status = SyncStatus.Idle;
|
||||||
|
|
||||||
SyncUpBase ();
|
if (HasUnsyncedChanges || HasLocalChanges) {
|
||||||
|
do {
|
||||||
|
SyncUpBase ();
|
||||||
|
|
||||||
|
} while (HasLocalChanges);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue