I have an NSPopUpButton
that has a few menu items that expose identical functionality to some main menu items. Those are actions most relevant to the users current context.
To signal that those items also have keyEquivalent
s (shortcuts), I wanted to set their keyEquivalent
s to the same keys as the items in the main menu.
Unfortunately that doesn't seem to work, since the conflicting items now have their keyEquivalent
s removed in the main menu (presumably automatically by AppKit).
Is it somehow possible to show the same keyEquivalent
in the NSPopUpButton
menu?