Skip to content
Permalink
Browse files

[Backport]: disable abort if avoid intersections returns a different …

…geometry type (e.g. multitype instead of singletype). Temporary solution for ticket #4880
  • Loading branch information
mhugent authored and alexbruy committed Jan 31, 2012
1 parent 60df735 commit 17c87e1c5abd68a3bbe823e51a4fd7a9793a5293
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/qgsmaptooladdfeature.cpp
@@ -409,14 +409,14 @@ void QgsMapToolAddFeature::canvasReleaseEvent( QMouseEvent * e )
{
//not a polygon type. Impossible to get there
}
else if ( avoidIntersectionsReturn == 2 )
/*else if ( avoidIntersectionsReturn == 2 ) //MH120131: disable this error message until there is a better way to cope with the single type / multi type problem
{
//bail out...
QMessageBox::critical( 0, tr( "Error" ), tr( "The feature could not be added because removing the polygon intersections would change the geometry type" ) );
delete f;
stopCapturing();
return;
}
}*/
else if ( avoidIntersectionsReturn == 3 )
{
QMessageBox::critical( 0, tr( "Error" ), tr( "An error was reported during intersection removal" ) );

0 comments on commit 17c87e1

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