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: Steve Mills <email@hidden>
- Date: Mon, 19 Aug 2013 11:05:31 -0500
On Aug 16, 2013, at 15:32:01, Jerry Krinock <email@hidden> wrote:
> 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.
Thanks. I ended up doing the key equiv setting in a different place rather than from validateMenuItem. That solved the problem. I'll keep menuNeedsUpdate in mind in the future.
--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157
_______________________________________________
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