Skip to content

Commit 00c8196

Browse files
committed
Merge pull request #1093 from ahuarte47/Issue_8725R-UIpoints
Feature #8725R: hide simplification rendering tab for point layers
2 parents 7cb79c4 + b440367 commit 00c8196

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/app/qgsvectorlayerproperties.cpp

+7
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,13 @@ void QgsVectorLayerProperties::syncToLayer( void )
408408
mSimplifyDrawingAtProvider->setChecked( !simplifyMethod.forceLocalOptimization() );
409409
mSimplifyDrawingAtProvider->setEnabled( mSimplifyDrawingGroupBox->isChecked() );
410410
}
411+
412+
// disable simplification for point layers, now it is not implemented
413+
if ( layer->geometryType() == QGis::Point )
414+
{
415+
mOptionsStackedWidget->removeWidget( mOptsPage_Rendering );
416+
mSimplifyDrawingGroupBox->setChecked( false );
417+
}
411418

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

0 commit comments

Comments
 (0)