Skip to content
Permalink
Browse files

Merge pull request #1093 from ahuarte47/Issue_8725R-UIpoints

Feature #8725R: hide simplification rendering tab for point layers
  • Loading branch information
timlinux committed Jan 20, 2014
2 parents 7cb79c4 + b440367 commit 00c8196b0010ccde411ad46e5ae5ddc1cc42f8c7
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/app/qgsvectorlayerproperties.cpp
@@ -408,6 +408,13 @@ void QgsVectorLayerProperties::syncToLayer( void )
mSimplifyDrawingAtProvider->setChecked( !simplifyMethod.forceLocalOptimization() );
mSimplifyDrawingAtProvider->setEnabled( mSimplifyDrawingGroupBox->isChecked() );
}

// disable simplification for point layers, now it is not implemented
if ( layer->geometryType() == QGis::Point )
{
mOptionsStackedWidget->removeWidget( mOptsPage_Rendering );
mSimplifyDrawingGroupBox->setChecked( false );
}

// load appropriate symbology page (V1 or V2)
updateSymbologyPage();

0 comments on commit 00c8196

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