mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-06 17:12:50 +00:00
Fix for toolbar item's sending their views as senders for actions (should be the item itself).
Closes #493. Reviewed by me.
This commit is contained in:
1 parent
7730aeb652
commit
1524f80418
1 file changed
+5
@@ -1095,6 +1095,11 @@ var TOP_MARGIN = 5.0,
|
||||
[_labelField setTextShadowColor:[self FIXME_labelShadowColor]];
|
||||
}
|
||||
|
||||
- (void)sendAction:(SEL)anAction to:(id)aSender
|
||||
{
|
||||
[CPApp sendAction:anAction to:aSender from:_toolbarItem];
|
||||
}
|
||||
|
||||
- (void)observeValueForKeyPath:(CPString)aKeyPath
|
||||
ofObject:(id)anObject
|
||||
change:(CPDictionary)aChange
|
||||
|
||||
Reference in new issue
Block a user