Qt6 topics merged with General

Menu short cut clash with toolbar shortcut.

  • I have a menu which contains "&File" and "Edit->&Find" among other things. Here the "Alt-F" short cut is used both on the top-level File menu and in the "Find" menu item in the Edit menu. This seems to work fine - and seems quite standard.

    However, if I add the Find action to a toolbar then it breaks ... sort of. In that case when I press Alt-F nothing happens. If I press Alt-F twice (actually Alt-F-F) then the File menu opens. I suppose because the ambiguity of the Alt-F shortcut.

    The intention was not to create a global short-cut for "Find". Is there anyway to limit the shortcut to only be active in the edit menu?

Log in to reply