[Q] doubleAction on a NSTableView misbehaving?
[Q] doubleAction on a NSTableView misbehaving?
- Subject: [Q] doubleAction on a NSTableView misbehaving?
- From: Eric Gorr <email@hidden>
- Date: Thu, 2 Apr 2009 14:11:07 -0400
The documentation for setDoubleAction on a NSTableView states:
If the double-clicked cell is editable, this message isn’t sent
and the cell is edited instead.
However, the behavior I am seeing is that although my double-clicked
cell is editable (tableView:shouldEditTableColumn:row: does return
YES), the selector I passed to setDoubleAction is called when I double
click on the cell.
I can only edit the cell if I first click on the cell, pause for about
1 second, and click again.
The fact that a double-click on an editable cell doesn't start an edit
when doubleAction has been assigned looks like a bug to me or the
documentation is wrong or I have misinterpreted something.
Anyone care to comment?
Yes, if I don't assign something to doubleAction and double click the
cell, I can edit.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden