Don't refresh the repo list until after the new directory has been moved into place
This commit is contained in:
parent
19dc30a5b4
commit
fe1e9e6bf7
|
@ -168,11 +168,12 @@ namespace SparkleShare {
|
|||
} else {
|
||||
|
||||
SparkleHelpers.DebugInfo ("Git", "[" + RepoName + "] Repository cloned");
|
||||
SparkleShare.SparkleUI.UpdateRepositories ();
|
||||
|
||||
Directory.Move (SparkleHelpers.CombineMore (SparklePaths.SparkleTmpPath, RepoName),
|
||||
SparkleHelpers.CombineMore (SparklePaths.SparklePath, RepoName));
|
||||
|
||||
SparkleShare.SparkleUI.UpdateRepositories ();
|
||||
|
||||
// Show a confirmation notification
|
||||
SparkleBubble FinishedBubble;
|
||||
FinishedBubble = new SparkleBubble (String.Format(_("Successfully synced folder ‘{0}’"), RepoName),
|
||||
|
|
Loading…
Reference in a new issue