Re: Disabling menu items
Re: Disabling menu items
- Subject: Re: Disabling menu items
- From: Shane Stanley <email@hidden>
- Date: Sat, 7 Oct 2017 10:46:21 +1100
On 7 Oct 2017, at 10:41 am, Kevin Perry <email@hidden> wrote:
>
> This should be handled automatically by NSDocumentController’s implementation
> of -validateUserInterfaceItem: / -validateMenuItem:. Any chance you’re
> overriding either of those methods and returning YES for menu items you don’t
> own (instead of calling super)?
Quite possibly. Thanks for the nudge.
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>
_______________________________________________
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