activating Delete menu item through binding
activating Delete menu item through binding
- Subject: activating Delete menu item through binding
- From: Koen van der Drift <email@hidden>
- Date: Sun, 15 Apr 2012 14:13:56 -0400
My MainMenu.nib has a 'Delete' menu item that is mapped to the Delete key. I'd like to use that to remove items from my NSTableView that is connected to an NSArrayController. So in the bindings for the Delete menu item, I set it's availability to myArrayController.canRemove. However, the Delete menu item remains grayed out.
Is there anything else I need to do to activate the Delete menu item?
Thanks,
- Koen.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden