Skip to content
Permalink
Browse files

Only allow formatted numbers in precision config

  • Loading branch information
m-kuhn committed Sep 27, 2018
1 parent dae3134 commit d85c0a7e928a142aea83cf01e65f73263b539891
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/app/qgsvectorlayerproperties.cpp
@@ -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() ) );

0 comments on commit d85c0a7

Please sign in to comment.
You can’t perform that action at this time.