Skip to content

Commit

Permalink
small code readability improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Mar 10, 2020
1 parent a180149 commit db73faa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/processing/qgsprocessingalgorithm.cpp
Expand Up @@ -991,6 +991,7 @@ bool QgsProcessingFeatureBasedAlgorithm::supportInPlaceEdit( const QgsMapLayer *
type = QgsWkbTypes::LineString;
else if ( inPlaceGeometryType == QgsWkbTypes::PolygonGeometry )
type = QgsWkbTypes::Polygon;

if ( QgsWkbTypes::geometryType( outputWkbType( type ) ) != inPlaceGeometryType )
return false;

Expand Down

0 comments on commit db73faa

Please sign in to comment.