Re: Bindings and the Undo Manager (again)
Re: Bindings and the Undo Manager (again)
- Subject: Re: Bindings and the Undo Manager (again)
- From: Jason Harris <email@hidden>
- Date: Sun, 30 Jan 2005 04:33:37 -0700
On Jan 30, 2005, at 12:01 AM, Dan Stein wrote:
For quite some time today I was getting errors upon trying to undo an
insert operation into my table (even though undoing
deletions and edits seemed to be working OK):
I don't know for sure, but I'd guess that it's because when you
preserve selection and you've undone an insert, it's possible that
you're trying to select an item that's no longer present.
There are some other gotchas with table views that change numbers of
rows and selection before doing a reloadData, maybe the bindings stuff
is doing that behind the scenes.
You could run your app in the debugger and set a breakpoint on
-[NSException raise] and then look at the backtrace when it drops into
the debugger to see exactly where things are gawking.
Jason
_______________________________________________
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