Re: Grouping undo-able actions with CoreData
Re: Grouping undo-able actions with CoreData
- Subject: Re: Grouping undo-able actions with CoreData
- From: mmalcolm crawford <email@hidden>
- Date: Tue, 24 May 2005 21:04:58 -0700
On May 24, 2005, at 8:05 PM, John Timmer wrote:
The second issue is the bundled undo operations. On mmalc's advice, I
started the bundling when the event was triggered and, at the end,
tried:
[[theContext undoManager] endUndoGrouping];
[theContext processPendingChanges];
Without considering any of the other aspects at the moment, these
lines should be the other way round -- processPendingChanges is what
causes the undo events to be registered.
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden