Re: Is it OK to setKeyEquivalent during validateMenuItem
Re: Is it OK to setKeyEquivalent during validateMenuItem
- Subject: Re: Is it OK to setKeyEquivalent during validateMenuItem
- From: Jerry Krinock <email@hidden>
- Date: Fri, 16 Aug 2013 13:32:01 -0700
To answer the question in your subject line, I'm not sure. It certainly seems like a misuse if not an abuse. I always do stuff like that in my friend, -menuNeedsUpdate. In -menuNeedsUpdate, you can go so far as to remove all the items and rebuild the whole menu from scratch if you want to.
On 2013 Aug 16, at 12:18, Steve Mills <email@hidden> wrote:
> the set-up … will … remove matching items in the normal menus.
It seems like it is this removal which is not working. It is odd, but documented, that to remove a key equivalent, you must set it to @"". Setting keyEquivalent to nil does not work as expected.
_______________________________________________
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