Skip to content
Permalink
Browse files
Double fields should use QDoubleValidator
git-svn-id: http://svn.osgeo.org/qgis/trunk@9412 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
homann committed Sep 26, 2008
1 parent 211892d commit 2db2d87bb1f0e27f53f6e04187bf2d7ca7d9990d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsattributedialog.cpp
@@ -242,7 +242,7 @@ QgsAttributeDialog::QgsAttributeDialog( QgsVectorLayer *vl, QgsFeature *thepFeat
}
else if ( myFieldType == QVariant::Double )
{
le->setValidator( new QIntValidator( le ) );
le->setValidator( new QDoubleValidator( le ) );
}

myWidget = le;

0 comments on commit 2db2d87

Please sign in to comment.