Open polfeliu opened 1 year ago
QLineEdit.setValidator should accept None since, since the default value of QLineEdit.validator is None.
Also mentioned here https://doc.qt.io/qt-5/qlineedit.html#setValidator
"If v == 0, setValidator() removes the current input validator."
Fixing in https://github.com/python-qt-tools/PyQt5-stubs/pull/210. Thanks.
QLineEdit.setValidator should accept None since, since the default value of QLineEdit.validator is None.
Also mentioned here https://doc.qt.io/qt-5/qlineedit.html#setValidator
"If v == 0, setValidator() removes the current input validator."