In my application, I set up a main menu that contains a Help menu. Most of the time it works fine. But if a modal dialog comes up during initialization, my main menu ends up with two Help menus.
While the initialization dialog is up, the main menu shows three items: the system menu (apple symbol), the application menu (my app’s name), and Help. None of these are created by me. I even moved my UI init (where I call setMacMainMenu) ahead of this dialog, but that had no effect.
Can anyone point me in the right direction for what is causing this or how to prevent it? I can’t move the dialog to happen later.