Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Revert "Adds a warning using avoid intersections and topological edit…
…ing"

This reverts commit f00e86dbe5a0cf1ef38e63aba0e75e4ecaea4c57.
  • Loading branch information
lbartoletti committed May 17, 2021
1 parent de6c1ad commit 6927f35
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/app/qgssnappingwidget.cpp
Expand Up @@ -35,7 +35,6 @@
#include "qgslayertreeview.h"
#include "qgsmapcanvas.h"
#include "qgsmaplayer.h"
#include "qgsmessagebar.h"
#include "qgsproject.h"
#include "qgssnappingconfig.h"
#include "qgssnappinglayertreemodel.h"
Expand Down Expand Up @@ -531,20 +530,12 @@ void QgsSnappingWidget::projectAvoidIntersectionModeChanged()
mAllowIntersectionsAction->setChecked( false );
mAvoidIntersectionsCurrentLayerAction->setChecked( true );
mAvoidIntersectionsLayersAction->setChecked( false );
if ( mProject->topologicalEditing() )
{
QgisApp::instance()->messageBar()->pushWarning( tr( "Digitizing Warning" ), tr( "By using both avoid intersections and topological editing, geometries can be transformed automatically. Be careful with your modifications." ) );
}
break;
case QgsProject::AvoidIntersectionsMode::AvoidIntersectionsLayers:
mAvoidIntersectionsModeButton->setDefaultAction( mAvoidIntersectionsLayersAction );
mAllowIntersectionsAction->setChecked( false );
mAvoidIntersectionsCurrentLayerAction->setChecked( false );
mAvoidIntersectionsLayersAction->setChecked( true );
if ( mProject->topologicalEditing() )
{
QgisApp::instance()->messageBar()->pushWarning( tr( "Digitizing Warning" ), tr( "By using both avoid intersections and topological editing, geometries can be transformed automatically. Be careful with your modifications." ) );
}
break;
}
}
Expand Down

0 comments on commit 6927f35

Please sign in to comment.