Double-clicking NSOutlineView
Double-clicking NSOutlineView
- Subject: Double-clicking NSOutlineView
- From: Paul Mix <email@hidden>
- Date: Thu, 19 Jul 2001 13:54:48 -0500
Bit of a mystery here:
I have an NSOutlineView that absolutely refuses to send an action to
its delegate when it's double clicked. In the delegate's
-awakeFromNib, I call:
[myOutlineView setDoubleAction:@selector(userDoubleClickedOutlineView:)];
myOutlineView is correctly pointing to the OLV within -awakeFromNib
(the method also creates a custom column type for the OLV and
registers it for drag types). However, the delegate's
userDoubleClickedOutlineView: simply doesn't get called on a
double-click. Everything else about the two classes seem to be wired
correctly, and the delegate implements all other required OLV
delegate methods.
Note: the OLV is in the view of a drawer, and the controller acting
as the OLV's delegate/data-source inherits directly from NSObject.
The same controller object is also the delegate of the drawer itself
(if that matters).
I did make sure that none of the OLV columns are editable.
Any suggestions would be appreciated...
TIA,
- Paul M
--