mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-03-17 08:01:24 +00:00
saveFileTo should not update the save time
This commit is contained in:
parent
78e4f47c8f
commit
a6fc84bc9b
1 changed files with 1 additions and 9 deletions
|
@ -706,15 +706,7 @@
|
|||
|
||||
- (BOOL)saveFileTo:(NSString *)path
|
||||
{
|
||||
NSFileManager *fm = [NSFileManager defaultManager];
|
||||
|
||||
if ([[_storage string] writeToFile:path atomically:YES])
|
||||
{
|
||||
ASSIGN(_lastSaveDate, [[fm fileAttributesAtPath:path traverseLink:NO] fileModificationDate]);
|
||||
return YES;
|
||||
}
|
||||
|
||||
return NO;
|
||||
return [[_storage string] writeToFile:path atomically:YES];
|
||||
}
|
||||
|
||||
- (BOOL)revertFileToSaved
|
||||
|
|
Loading…
Reference in a new issue