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