Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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 committed Jan 31, 2012
1 parent 05bacf7 commit 6a44e11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/qgsmaptooladdfeature.cpp
Expand Up @@ -249,14 +249,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" ) );
Expand Down

0 comments on commit 6a44e11

Please sign in to comment.