Skip to content
Permalink
Browse files
Revert "Adds a warning using avoid intersections and topological edit…
…ing"

This reverts commit f00e86d.
  • Loading branch information
lbartoletti committed May 17, 2021
1 parent de6c1ad commit 6927f35b5e5558b3552b003604481c03df5b6dc1
Showing with 0 additions and 9 deletions.
  1. +0 −9 src/app/qgssnappingwidget.cpp
@@ -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"
@@ -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;
}
}

0 comments on commit 6927f35

Please sign in to comment.