Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Geometry Checker] Fix Minimal polygon area check
  • Loading branch information
agiudiceandrea authored and nyalldawson committed Apr 2, 2023
1 parent 447e8d7 commit d82b851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/geometry_checker/qgsgeometrycheckfactory.cpp
Expand Up @@ -96,7 +96,7 @@ template<> QgsGeometryCheck *QgsGeometryCheckFactoryT<QgsGeometryAreaCheck>::cre
QgsSettings().setValue( sSettingsGroup + "checkArea", ui.checkBoxArea->isChecked() );
QgsSettings().setValue( sSettingsGroup + "minimalArea", ui.doubleSpinBoxArea->value() );
QVariantMap configuration;
configuration.insert( "areaThreshold", ui.doubleSpinBoxAngle->value() );
configuration.insert( "areaThreshold", ui.doubleSpinBoxArea->value() );
if ( ui.checkBoxArea->isEnabled() && ui.checkBoxArea->isChecked() )
{
return new QgsGeometryAreaCheck( context, configuration );
Expand Down

0 comments on commit d82b851

Please sign in to comment.