From 53a42fa3cf95d32852c150109ad87b7bb69af8cd Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Thu, 25 Oct 2012 16:23:59 +0100 Subject: [PATCH] repo: when adding files during a sync, don't trigger a new sync but wait when idle --- SparkleLib/SparkleRepoBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SparkleLib/SparkleRepoBase.cs b/SparkleLib/SparkleRepoBase.cs index 9ae73c46..9349ac9c 100755 --- a/SparkleLib/SparkleRepoBase.cs +++ b/SparkleLib/SparkleRepoBase.cs @@ -216,7 +216,7 @@ namespace SparkleLib { public void OnFileActivity (FileSystemEventArgs args) { - if (IsBuffering) + if (IsBuffering || this.is_syncing) return; if (args != null) {