Skip to content
Permalink
Browse files

UI improvements for automatic fixes

  • Loading branch information
m-kuhn committed Aug 21, 2018
1 parent 2cd1c6c commit c82fdabcb72d7aaa4fe45479fe8340fc0f59518e
Showing with 12 additions and 2 deletions.
  1. +12 −2 src/app/qgsvectorlayerproperties.cpp
@@ -423,8 +423,18 @@ QgsVectorLayerProperties::QgsVectorLayerProperties(

updateAuxiliaryStoragePage();

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

mGeometryPrecisionSpinBox->setSuffix( QgsUnitTypes::toAbbreviatedString( mLayer->crs().mapUnits() ) );
}
else
{
mRemoveDuplicateVerticeCheckbox->setEnabled( false );
mGeometryPrecisionSpinBox->setEnabled( false );
}

optionsStackedWidget_CurrentChanged( mOptStackedWidget->currentIndex() );
}

0 comments on commit c82fdab

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