Skip to content
Browse files

solved "An error occurred while saving." problem

  • Loading branch information...
1 parent 17d9056 commit e9ec3cb7e3170723f34f4a12ad2af0f3cfc8264d @aliueKurone aliueKurone committed
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 e9ec3cb

Please sign in to comment.
Something went wrong with that request. Please try again.