Skip to content
Permalink
Browse files

More UI enhancements

  • Loading branch information
m-kuhn committed Aug 21, 2018
1 parent c49ec67 commit 26261ca646b5448f09706f308c7c382a679331a3
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/app/qgsvectorlayerproperties.cpp
@@ -425,10 +425,13 @@ QgsVectorLayerProperties::QgsVectorLayerProperties(

if ( mLayer->isSpatial() )
{
mRemoveDuplicateVerticeCheckbox->setEnabled( true );
mGeometryPrecisionSpinBox->setEnabled( true );

mRemoveDuplicateVerticeCheckbox->setChecked( mLayer->removeDuplicateNodes() );
mGeometryPrecisionSpinBox->setValue( mLayer->geometryPrecision() );

mGeometryPrecisionSpinBox->setSuffix( QgsUnitTypes::toAbbreviatedString( mLayer->crs().mapUnits() ) );
mGeometryPrecisionSpinBox->setSuffix( QStringLiteral( " [%1]" ).arg( QgsUnitTypes::toAbbreviatedString( mLayer->crs().mapUnits() ) ) );
}
else
{

0 comments on commit 26261ca

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