call tableview doubleclick action even if target is nil (action will travel down the responder chain)

This commit is contained in:
Klaas Pieter Annema committed 2010-05-31 15:41:52 +02:00
1 parent a18fb1b686
commit 43f0e43de7
1 file changed
+3 -1
+3 -1
View File
@@ -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];
}