Skip to content

Commit c0edba9

Browse files
elpasonyalldawson
authored andcommittedSep 14, 2018
Disable alg to multipart
1 parent 08fbf38 commit c0edba9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

‎src/analysis/processing/qgsalgorithmpromotetomultipart.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,8 @@ QgsPromoteToMultipartAlgorithm *QgsPromoteToMultipartAlgorithm::createInstance()
6868

6969
bool QgsPromoteToMultipartAlgorithm::supportInPlaceEdit( const QgsVectorLayer *layer ) const
7070
{
71-
if ( ! QgsProcessingFeatureBasedAlgorithm::supportInPlaceEdit( layer ) )
72-
return false;
73-
return QgsWkbTypes::isMultiType( layer->wkbType() );
71+
Q_UNUSED( layer );
72+
return false;
7473
}
7574

7675
QgsWkbTypes::Type QgsPromoteToMultipartAlgorithm::outputWkbType( QgsWkbTypes::Type inputWkbType ) const

0 commit comments

Comments
 (0)
Please sign in to comment.