Re: Sometimes all my menus are disabled
Re: Sometimes all my menus are disabled
- Subject: Re: Sometimes all my menus are disabled
- From: Steve Mills <email@hidden>
- Date: Mon, 13 Feb 2017 08:49:46 -0600
On Feb 13, 2017, at 08:12:59, Andreas Falkenhahn <email@hidden> wrote:
>
> Unfortunately, I don't know where to look because I remember nothing about
> Interface Builder. That's why I have uploaded a VERY SMALL test project
> here: http://www.falkenhahn.com/tmp/guitest.tar.gz
Same problem here. I added this:
-(BOOL)validateMenuItem:(NSMenuItem *)menuItem
{
NSLog(@"%@", menuItem.title);
return YES;
}
to help see what's going on. When it works, it logs About, Prefs, and Plugins. When it fails, it only logs About and Prefs. Gotta get to the office now, or I'd investigate further.
BTW, when you use ellipses in menu item titles, use the real ellipses character, option-semicolon.
--
Steve Mills
Drummer, Mac geek
_______________________________________________
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