Skip to content

Commit b1a544b

Browse files
committed
Bugfix: GUI: Re-check validity after QValidatedLineEdit::setCheckValidator
1 parent 2385b50 commit b1a544b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/qt/qvalidatedlineedit.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ void QValidatedLineEdit::checkValidity()
106106
void QValidatedLineEdit::setCheckValidator(const QValidator *v)
107107
{
108108
checkValidator = v;
109+
checkValidity();
109110
}
110111

111112
bool QValidatedLineEdit::isValid()

0 commit comments

Comments
 (0)