Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Single chacter shortcut in menu (action) item does nothing.



  • Involves Pyside+Python 3.2

    A simple problem, which is giving me a headache.

    given a QAction, then running setShortcut( QtCore.Qt.Key_S ), I am able to have said menu item.
    However, pressing 'S' to activate said menu items function, does nothing.

    I've tried QShortcut as well, but to no avail.

    Should I assume all shortcuts require an accelerator such as CTRL or ALT?

    Thank you


Log in to reply