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 github-actions[bot] committed Apr 1, 2023
1 parent 50adba3 commit 198b68c
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 198b68c

Please sign in to comment.