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

Pressing Ctrl+F on main panel leads to setFocus(self): too many arguments

XMLWordPrintable

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

      How to reproduce:

      • press CTRL+F on main panel

      Traceback (most recent call last):
      File "/home/zas/src/picard/./picard/ui/mainwindow/_init_.py", line 277, in keyPressEvent
      self.search_edit.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:

      • pass proper Qt.FocusReason; not True

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

              Created:
              Updated:

                Version Package