Fix to make CPMenuItem send itself as the sender with its action.

Signed-off-by: 280 North, Inc. <admin+280north@280north.com>
This commit is contained in:
nciagra authored and 280 North, Inc. committed 2009-03-23 02:47:24 +08:00
1 parent 65d9df9c54
commit bb2697a1d8
1 file changed
+1 -1
+1 -1
View File
@@ -1702,7 +1702,7 @@ var _CPMenuBarWindowBackgroundColor = nil,
[menuItemView highlight:NO];
if (onMenuItemView)
[CPApp sendAction:[_trackingMenuItem action] to:[_trackingMenuItem target] from:nil];
[CPApp sendAction:[_trackingMenuItem action] to:[_trackingMenuItem target] from:_trackingMenuItem];
return;
}