Skip to content
  • Yuya Nishihara's avatar
    guess: do not pass an integer to setEnabled() · d34a895ec1a7
    Yuya Nishihara authored
    Spotted by pytype:
    
      in refresh: Function QPushButton.setEnabled was called with the wrong
      arguments [wrong-arg-types]
        Expected: (self, a0: Optional[bool])
        Actually passed: (self, a0: int)
      in searchfinished: Function QPushButton.setEnabled was called with the wrong
      arguments [wrong-arg-types]
        Expected: (self, a0: Optional[bool])
        Actually passed: (self, a0: int)
      in searchfinished: Function QPushButton.setEnabled was called with the wrong
      arguments [wrong-arg-types]
        Expected: (self, a0: Optional[bool])
        Actually passed: (self, a0: int)
    d34a895ec1a7