On Jun 13, 2008, at 11:23 AM, Corbin Dunn wrote:

You probably mean, editing (not edition).

Certainly.


[...]
- (BOOL) outlineView:(NSOutlineView *) inOutlineView shouldEditTableColumn:(NSTableColumn *) inTableColumn item:(id)inItem

First off -- 10.4 *requires* a double click to begin an editing session. Are you sure you aren't manually starting the editing by calling - (void)editColumn:(NSInteger)column row:(NSInteger)row withEvent:(NSEvent *)theEvent select:(BOOL)select;

In fact, you can break on that method and see when it is invoked, and look at the bt to figure out why.

No, I checked the source.

Is it a bug or just an unsupported scenario?

I don't think it should happen the way you described, see the notes above. Really, you should return non-nil from the method. I have a feeling something else is going on.

This is the solution I used to "fix" the issue.


_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to