Skip to content

Commit

Permalink
Only allow formatted numbers in precision config
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Oct 15, 2018
1 parent dae3134 commit d85c0a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/qgsvectorlayerproperties.cpp
Expand Up @@ -405,6 +405,7 @@ QgsVectorLayerProperties::QgsVectorLayerProperties(
{
mRemoveDuplicateNodesCheckbox->setEnabled( true );
mGeometryPrecisionLineEdit->setEnabled( true );
mGeometryPrecisionLineEdit->setValidator( new QDoubleValidator( mGeometryPrecisionLineEdit ) );

mRemoveDuplicateNodesCheckbox->setChecked( mLayer->geometryOptions()->removeDuplicateNodes() );
mGeometryPrecisionLineEdit->setText( QString::number( mLayer->geometryOptions()->geometryPrecision() ) );
Expand Down

0 comments on commit d85c0a7

Please sign in to comment.