Browse files

Merge pull request #43 from aliueKurone/for_pull_request

solved "An error occurred while saving." problem
  • Loading branch information...
2 parents 17d9056 + e9ec3cb commit 312c9f335438fd80656650573d62c260322727b3 @jfmoy committed Jun 17, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Classes/FRAProject.m
View
2 Classes/FRAProject.m
@@ -591,7 +591,7 @@ - (void)cleanUpDocument:(id)document
[self setFirstDocument:nil];
}
- [FRAManagedObjectContext deleteObject:document];
+ [documentsArrayController removeObject:document];
[[FRAApplicationDelegate sharedInstance] saveAction:nil]; // To remove it from memory
[[FRAManagedObjectContext undoManager] removeAllActions];
}

0 comments on commit 312c9f3

Please sign in to comment.