Skip to content
Permalink
Browse files
Double fields should use QDoubleValidator
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9412 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
homann committed Sep 26, 2008
1 parent f651018 commit e1bbea9e65eb2734dc729d1b8f53aa21c1d2cf38
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 e1bbea9

Please sign in to comment.