mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-23 16:48:53 +00:00
call tableview doubleclick action even if target is nil (action will travel down the responder chain)
This commit is contained in:
1 parent
a18fb1b686
commit
43f0e43de7
1 file changed
+3
-1
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user