Skip to content

Commit

Permalink
Follow upp bf18f15, fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 20, 2018
1 parent bf18f15 commit e6fcce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/geometry_checker/qgsgeometrycheckfactory.cpp
Expand Up @@ -254,7 +254,7 @@ template<> void QgsGeometryCheckFactoryT<QgsGeometryFollowBoundariesCheck>::rest

template<> bool QgsGeometryCheckFactoryT<QgsGeometryFollowBoundariesCheck>::checkApplicability( Ui::QgsGeometryCheckerSetupTab &ui, int /*nPoint*/, int nLineString, int nPolygon ) const
{
const bool enabled = nPolygon > 0;
const bool enabled = nLineString + nPolygon > 0;
if ( !enabled )
ui.checkBoxFollowBoundaries->setChecked( false );
ui.checkBoxFollowBoundaries->setEnabled( enabled );
Expand Down

0 comments on commit e6fcce4

Please sign in to comment.