On 03/10/2005, at 22.51, Gerd Knops wrote:
I've been bitten by this myself a few times. The problem of course being, that I don't get any notification from the NSOutlineView, when user clicks an already selected item -- but I'll see what I can do to get one :)
Deselect it during the original notification, or if that is to early use a timer...
Or if you want to keep the selection
I do, since the “Replace” acts on a (potential) selection.
you probably need this in a subclass of NSOutlineView (tested, verbose for clarity):
Cool, thanks! I added the code, and it's working. But I'm going to bed now, so I'll do a nightly build tomorrow.