mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-21 22:19:26 +00:00
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:
1 parent
65d9df9c54
commit
bb2697a1d8
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user