Skip to content
Permalink
Browse files

Follow upp bf18f15, fix warning

  • Loading branch information
nyalldawson committed Aug 20, 2018
1 parent bf18f15 commit e6fcce4570aa006889fdc82dc8efa774d31899fa
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/plugins/geometry_checker/qgsgeometrycheckfactory.cpp
@@ -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 );

0 comments on commit e6fcce4

Please sign in to comment.
You can’t perform that action at this time.