mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Double fields should use QDoubleValidator
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9412 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
f6510188bc
commit
e1bbea9e65
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user