From: knorr Date: Tue, 30 Sep 2008 09:55:24 +0000 (+0900) Subject: - fixes validation bug on EditorType change X-Git-Url: https://gitweb.ananas.su/?a=commitdiff_plain;h=252e95d0d7786f806387a38e980cea53ef617dab;p=projects%2Fananas-labs.git - fixes validation bug on EditorType change --- 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()) );