Skip to content

Commit

Permalink
Make the QLineEdit.setValidator() parameter optional
Browse files Browse the repository at this point in the history
  • Loading branch information
altendky authored Jan 24, 2023
1 parent d29b030 commit ac9e4a9
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 @@ -7177,7 +7177,7 @@ class QLineEdit(QWidget):
def minimumSizeHint(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ...
def validator(self) -> QtGui.QValidator: ...
def setValidator(self, a0: QtGui.QValidator) -> None: ...
def setValidator(self, a0: typing.Optional[QtGui.QValidator]) -> None: ...
def setReadOnly(self, a0: bool) -> None: ...
def isReadOnly(self) -> bool: ...
def setEchoMode(self, a0: 'QLineEdit.EchoMode') -> None: ...
Expand Down

0 comments on commit ac9e4a9

Please sign in to comment.