Re: Sometimes all my menus are disabled
Re: Sometimes all my menus are disabled
- Subject: Re: Sometimes all my menus are disabled
- From: じょいすじょん <email@hidden>
- Date: Tue, 14 Feb 2017 01:33:08 +0900
Yeah, my first suggestion didn't work, but points out the problem overall in you nib.
Looks like somebody did try to edit the xml before and munged it.
You also have nested menu duplicates inside your menus in the nib file itself!
MainMenu
Hollywood
Menu
About Hollywood
Separator
MainMenu (duplicated here as sub menu...)
Preferences
... (and on)
Delete that other MainMenu inside and it seems to work thus far.
> On Feb 14, 2017, at 0:56, Andreas Falkenhahn <email@hidden> wrote:
>
> On 13.02.2017 at 16:40 じょいすじょん wrote:
>
>> You have a lot of dupes in your nib file connections.
>
>> For example, select the AppDelegate in the nib in IB, and look at the Connections Inspector.
>> You'll see it has 2 Main Menu referencing outlets.
>> So it's hitting a random one of the two.
>> You have this kind of duplication in lots of places in your nib.
>> Rewire your nib.
>
> True, I can see that. But how do I rewire my nib? I don't remember anything
> about Interface Builder. As I said, I last worked on this project about 10
> years ago on a PowerPC Mac.
>
> So what exactly do I have to do? I've tried deleting the duplicate "mainMenu"
> entry in "Referencing Outlets" but this didn't change anything...
>
> --
> Best regards,
> Andreas Falkenhahn mailto:email@hidden
>
_______________________________________________
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