Skip to content
Permalink
Browse files

return the proper error code

  • Loading branch information
3nids committed Sep 10, 2013
1 parent 3e89c69 commit f361e11c2adf65cf0530e56f1c86f4b0248f063b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsvectorlayereditutils.cpp
@@ -413,7 +413,7 @@ int QgsVectorLayerEditUtils::splitParts( const QList<QgsPoint>& splitLine, bool
qDeleteAll( newGeometries );
}

if ( numberOfSplittedParts == 0 && selectedIds.size() > 0 )
if ( numberOfSplittedParts == 0 && selectedIds.size() > 0 && returnCode == 0)
{
//There is a selection but no feature has been split.
//Maybe user forgot that only the selected features are split

0 comments on commit f361e11

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