Important: Please read the Qt Code of Conduct -

Shortcut precedence on the Mac OSX

  • Hi everyone,

    Was wondering what is the shortcut precedence on Mac OSX? I have an undo action (the shortcut context is at its default Qt::WindowShortcut) that is inserted into a menu that is part of the application menu bar. My application also has a tree view which allows user to rename items which would bring up the line edit widget. On Windows it works fine, the undo shortcut goes to the line edit widget as one expects, but on the Mac, it goes to my application undo action instead.

    Is this normal? Is there any way to get Mac to behave the same?

Log in to reply