diff options
| author | Teddy Wing | 2020-10-10 20:36:09 +0200 |
|---|---|---|
| committer | Teddy Wing | 2020-10-10 20:36:09 +0200 |
| commit | d25f3e58ec4591ec884b43c6ac215699925ea726 (patch) | |
| tree | 7736319387711ca1c7c0156d4e2a6509d99c333e /Drop Serve/DropZone.m | |
| parent | 4c390aa17fe8b431cbb0c3b65da3e22d8701f8d2 (diff) | |
| download | Drop-Serve-d25f3e58ec4591ec884b43c6ac215699925ea726.tar.bz2 | |
DropZone: Exit drop handler if the dropped file doesn't exist
Diffstat (limited to 'Drop Serve/DropZone.m')
| -rw-r--r-- | Drop Serve/DropZone.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Drop Serve/DropZone.m b/Drop Serve/DropZone.m index 6ae6e49..79c1fe6 100644 --- a/Drop Serve/DropZone.m +++ b/Drop Serve/DropZone.m @@ -57,6 +57,8 @@ fileExistsAtPath:file isDirectory:&isDirectory]) { NSLog(@"%@ not found", file); + + return NO; } NSURL *path = [NSURL fileURLWithPath:file isDirectory:isDirectory]; |
