From 43f0e43de7e8fbec69fb59dac6c7d2496ed70ae1 Mon Sep 17 00:00:00 2001 From: Klaas Pieter Annema Date: Mon, 31 May 2010 15:41:52 +0200 Subject: [PATCH] call tableview doubleclick action even if target is nil (action will travel down the responder chain) --- AppKit/CPTableView.j | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/AppKit/CPTableView.j b/AppKit/CPTableView.j index 8dd282e4e..1b866b17f 100644 --- a/AppKit/CPTableView.j +++ b/AppKit/CPTableView.j @@ -2709,7 +2709,9 @@ CPTableViewFirstColumnOnlyAutoresizingStyle = 5; } //end of editing conditional //double click actions - if([[CPApp currentEvent] clickCount] === 2 && _doubleAction && _target) + if([[CPApp currentEvent] clickCount] === 2 && _doubleAction) + { + _clickedRow = [self rowAtPoint:aPoint]; [self sendAction:_doubleAction to:_target]; }