Is it OK to setKeyEquivalent during validateMenuItem

2013-08-16 Thread Steve Mills
I'm looking at a problem where some key equivs are going to the wrong menu items. Our Zoom Out menu item is always present and uses command-minus. One particular tool adds its own menu which includes items that use command-minus and command-shift-minus. This menu does NOT use autoenable, but ena

Re: Is it OK to setKeyEquivalent during validateMenuItem

2013-08-16 Thread Jerry Krinock
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.

Re: Is it OK to setKeyEquivalent during validateMenuItem

2013-08-19 Thread Steve Mills
On Aug 16, 2013, at 15:32:01, Jerry Krinock 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 ite