Silly Nub Question: How do I re-add my Main Menu?

Yeah, so, I deleted it from my program and having a peculiar time trying to re-add the default main menu after deciding I want to go a different route. File > New… makes a new nib, and copy/pasting the main menu from the new nib to my current one doesn’t quite work (everything’s disabled). So…yeah. :smiley:

In Interface Builder drag NSMenu from the library into your window, which contains File’s Owner, Application etc

I did that previously, but I must be doing something wrong, as that seems to be a stand alone menu and doesn’t seem to be tied to the default menu in any way (has three menu item entries). Perhaps I’m dragging the wrong menu?

http://warhaven.trolans.net/pics/menu.png

This one?

I see, the easiest way indeed is to drag the MainMenu from another project.
I did that a couple of times. The name of the menu in tab identity must be MainMenu

Still no go. All the menu items are disabled. :frowning:

http://warhaven.trolans.net/pics/disabled.png

Well, I grabbed the nib from my daily backup and all is good – but, I’d still like to figure out how to fix that if it occurs again and I’m not at work.

Thanks for the suggestions, though, StefanK.

Hello,

You should be able to create a new main menu by launching interface builder, clicking “File–>New” and then selecting “Main Menu” as the template type. Then that can be saved as MainMenu.xib and dragged into your current project.

Mike