Added an error message if we try to save on a folder without the write permission.

This commit is contained in:
Damiano Galassi committed 2014-10-23 18:14:43 +02:00
1 parent 9cae20cfe2
commit c45bbd6cb0
1 file changed
+5 -1
+5 -1
View File
@@ -154,7 +154,11 @@
[*outError release];
}
[self reloadFile:absoluteURL];
if (*outError && [*outError code] == 101) {
// Write persmission error, don't reload the file
} else {
[self reloadFile:absoluteURL];
}
return YES;
}