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

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.