From 252e95d0d7786f806387a38e980cea53ef617dab Mon Sep 17 00:00:00 2001 From: knorr Date: Tue, 30 Sep 2008 18:55:24 +0900 Subject: [PATCH] - fixes validation bug on EditorType change --- src/plugins/wfield.cpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/plugins/wfield.cpp b/src/plugins/wfield.cpp index 1e54c58..f7e3d53 100644 --- a/src/plugins/wfield.cpp +++ b/src/plugins/wfield.cpp @@ -207,6 +207,7 @@ wField::widgetInit() // set validator for string lineEdit->setMaxLength(n1); } + lineEdit->setValidator(NULL); connect( lineEdit, SIGNAL( textChanged( const QString & ) ), this, SLOT( setValue( const QString & ) ) ); connect( lineEdit, SIGNAL( lostFocus() ), this, SLOT( focusOutEvent()) ); -- 1.7.1