Skip to content
Permalink
Browse files

#8725R: remove rendering panel for points layer

  • Loading branch information
ahuarte47 committed Jan 20, 2014
1 parent 06b1fbc commit b440367f653bc7aa03aec046b330e17481985289
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 b440367

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