Skip to content

Commit

Permalink
Merge pull request python-qt-tools#32 from TilmanK/patch-1
Browse files Browse the repository at this point in the history
Fix annotation for QProgressDialog.setCancelButton
  • Loading branch information
stlehmann authored Apr 8, 2020
2 parents bd9e93c + 0e25609 commit ee42ee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyQt5-stubs/QtWidgets.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -6820,7 +6820,7 @@ class QProgressDialog(QDialog):
def minimum(self) -> int: ...
def wasCanceled(self) -> bool: ...
def setBar(self, bar: QProgressBar) -> None: ...
def setCancelButton(self, button: QPushButton) -> None: ...
def setCancelButton(self, button: typing.Optional[QPushButton]) -> None: ...
def setLabel(self, label: QLabel) -> None: ...


Expand Down

0 comments on commit ee42ee1

Please sign in to comment.