Skip to content
Permalink
Browse files

small code readability improvement

  • Loading branch information
3nids committed Mar 10, 2020
1 parent a180149 commit db73faae08aa63134610250f6b432410b9ed41e1
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/processing/qgsprocessingalgorithm.cpp
@@ -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;

0 comments on commit db73faa

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