- fixes validation bug on EditorType change
authorknorr <knorr@developer.(none)>
Tue, 30 Sep 2008 09:55:24 +0000 (18:55 +0900)
committerknorr <knorr@developer.(none)>
Tue, 30 Sep 2008 09:55:24 +0000 (18:55 +0900)
src/plugins/wfield.cpp

index 1e54c58..f7e3d53 100644 (file)
@@ -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()) );