Skip to content

Commit fdd5a50

Browse files
committedJun 12, 2017
avoid control on all geometries if one fail
1 parent 87116ab commit fdd5a50

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/core/qgsvectorlayereditbuffer.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@ bool QgsVectorLayerEditBuffer::commitChanges( QStringList &commitErrors )
328328
{
329329
commitErrors << tr( "ERROR: %n feature(s) not added - geometry type is not compatible with the current layer.", "not added features count", mAddedFeatures.size() );
330330
success = false;
331+
break;
331332
}
332333
}
333334
}

0 commit comments

Comments
 (0)
Please sign in to comment.