Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
return the proper error code
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+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 |
|
|