Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-132

QtShortcut 4 argument constructor ignores ShortcutContext argument

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 1.1.0
    • PySide
    • None
    • Windows 7, Python 2.7.1, PySide 1.1.4 installed via PyPI.

    Description

      The following has no effect:

      QtGui.QShortcut(QtGui.QKeySequence(QtCore.Qt.Key_Return), self.list_table, self.interaction_rename_symbol, QtCore.Qt.WidgetShortcut)
      

      The following works:

      QtGui.QShortcut(QtGui.QKeySequence(QtCore.Qt.Key_Return), self.list_table, self.interaction_rename_symbol).setContext(QtCore.Qt.WidgetShortcut)
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            rmtew Richard Tew
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes