Re: Menu items vs modal sessions
Re: Menu items vs modal sessions
- Subject: Re: Menu items vs modal sessions
- From: "Kyle Sluder" <email@hidden>
- Date: Mon, 14 Apr 2008 11:09:58 -0400
On Mon, Apr 14, 2008 at 10:28 AM, Pierre Bernard <email@hidden> wrote:
> This is probably due to the fact that I am using bindings to bind menu
> items to controller actions. I guess one gets the free behavior only when
> using target/action connections on the first responder.
Just for kicks, check to see what happens when you have directly
connected an NSMenuItem to a target (not using the responder chain).
Does AppKit automatically disable it when modal? If so, then a
workaround might be to have a proxy object whose target and action are
bound using bindings, and then directly connect your menu item to this
proxy object.
In either case, file an enhancement request at
http://bugreport.apple.com so that this situation can be fixed.
--Kyle Sluder
_______________________________________________
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