Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QLineEdit Optional[QValidator] #209

Open
polfeliu opened this issue Jan 24, 2023 · 1 comment
Open

QLineEdit Optional[QValidator] #209

polfeliu opened this issue Jan 24, 2023 · 1 comment

Comments

@polfeliu
Copy link

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."

@altendky
Copy link
Collaborator

Fixing in #210. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants