Skip to content

Commit 2db2d87

Browse files
author
homann
committedSep 26, 2008
Double fields should use QDoubleValidator
git-svn-id: http://svn.osgeo.org/qgis/trunk@9412 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 211892d commit 2db2d87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/qgsattributedialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ QgsAttributeDialog::QgsAttributeDialog( QgsVectorLayer *vl, QgsFeature *thepFeat
242242
}
243243
else if ( myFieldType == QVariant::Double )
244244
{
245-
le->setValidator( new QIntValidator( le ) );
245+
le->setValidator( new QDoubleValidator( le ) );
246246
}
247247

248248
myWidget = le;

0 commit comments

Comments
 (0)
Please sign in to comment.