Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-2890

Add a tag in Options > Interface > Top Tags results in setFocus() error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • 3.0
    • User Interface
    • None

      How to reproduce:

      • in Options > Interface > Top Tags, press button Add new tag

      Traceback (most recent call last):
      File "/home/zas/src/picard/./picard/ui/widgets/editablelistview.py", line 87, in add_empty_row
      self.setFocus(True)
      TypeError: arguments did not match any overloaded call:
      setFocus(self): too many arguments
      setFocus(self, reason: Qt.FocusReason): argument 1 has unexpected type 'bool'

      Solution:

      Call with QtCore.Qt.FocusReason.OtherFocusReason instead of True

            Unassigned Unassigned
            zas Zas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Version Package