Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 e1bbea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsattributedialog.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit e1bbea9

Please sign in to comment.