Skip to content

Commit

Permalink
Merge pull request #1093 from ahuarte47/Issue_8725R-UIpoints
Browse files Browse the repository at this point in the history
Feature #8725R: hide simplification rendering tab for point layers
  • Loading branch information
timlinux committed Jan 20, 2014
2 parents 7cb79c4 + b440367 commit 00c8196
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/app/qgsvectorlayerproperties.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit 00c8196

Please sign in to comment.