OK, I've done some more digging and found where the problem appears to be 
happening.

The Undo isn't happening because there is nothing to undo!!!

The situation is happening because I am using a secondary MOC for editing.

Once the edited object is saved to the secondary MOC, I reconcile the main MOC 
by calling mergeChangesFromContextDidSaveNotification: in response to the save 
notification.

However, if I check the undoManager on the main MOC, the canUndo message 
returns NO, both before and after the merge.

So, is there any way to detect that a change has happened on the main MOC, when 
the change has only been saved to the secondary MOC and merged to the main one?

Joanna

--
Joanna Carter
Carter Consulting
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to