Skip to content

Commit b31a13e

Browse files
committed
Feature #8725: Increment 2x the factor in slider
1 parent b02636d commit b31a13e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/qgsvectorlayerproperties.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ void QgsVectorLayerProperties::syncToLayer( void )
394394

395395
// get simplify drawing configuration
396396
mSimplifyDrawingGroupBox->setChecked( layer->simplifyDrawing() );
397-
mSimplifyDrawingSlider->setValue( (int)(10.0f * (layer->simplifyDrawingTol()-1)) );
397+
mSimplifyDrawingSlider->setValue( (int)(5.0f * (layer->simplifyDrawingTol()-1)) );
398398

399399
// load appropriate symbology page (V1 or V2)
400400
updateSymbologyPage();
@@ -535,7 +535,7 @@ void QgsVectorLayerProperties::apply()
535535

536536
//layer simplify drawing configuration
537537
layer->setSimplifyDrawing( mSimplifyDrawingGroupBox->isChecked() );
538-
layer->setSimplifyDrawingTol( 1.0f + 0.1f*mSimplifyDrawingSlider->value() );
538+
layer->setSimplifyDrawingTol( 1.0f + 0.2f*mSimplifyDrawingSlider->value() );
539539

540540
// update symbology
541541
emit refreshLegend( layer->id(), QgsLegendItem::DontChange );

0 commit comments

Comments
 (0)