[controller] Fix folders not being removed
This commit is contained in:
parent
ee1069b78a
commit
570f8fc56f
|
@ -106,8 +106,7 @@ namespace SparkleShare {
|
|||
// Remove the repository when a delete event occurs
|
||||
watcher.Deleted += delegate (object o, FileSystemEventArgs args) {
|
||||
|
||||
if (Directory.Exists (args.FullPath))
|
||||
RemoveRepository (args.FullPath);
|
||||
RemoveRepository (args.FullPath);
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue