Skip to content
Permalink
Browse files
Adds a tooltip on avoid overlap
  • Loading branch information
lbartoletti committed May 3, 2021
1 parent f00f89e commit 38baf6bd15651fff523968124d14bd89176fb68c
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/app/qgssnappingwidget.cpp
@@ -145,6 +145,7 @@ QgsSnappingWidget::QgsSnappingWidget( QgsProject *project, QgsMapCanvas *canvas,
QMenu *avoidIntersectionsModeMenu = new QMenu( tr( "Set Avoid Overlap Mode" ), this );
mAllowIntersectionsAction = new QAction( QIcon( QgsApplication::getThemeIcon( "/mActionAllowIntersections.svg" ) ), tr( "Allow Overlap" ), avoidIntersectionsModeMenu );
mAvoidIntersectionsCurrentLayerAction = new QAction( QIcon( QgsApplication::getThemeIcon( "/mActionAvoidIntersectionsCurrentLayer.svg" ) ), tr( "Avoid Overlap on Active Layer" ), avoidIntersectionsModeMenu );
mAvoidIntersectionsCurrentLayerAction->setToolTip( tr( "Avoid Overlap on Active Layer.\nBeware that this option will be applied on all vertexes of the edited geometries, even if outside the current view extent" ) );
mAvoidIntersectionsLayersAction = new QAction( QIcon( QgsApplication::getThemeIcon( "/mActionAvoidIntersectionsLayers.svg" ) ), tr( "Follow Advanced Configuration" ), avoidIntersectionsModeMenu );
avoidIntersectionsModeMenu->addAction( mAllowIntersectionsAction );
avoidIntersectionsModeMenu->addAction( mAvoidIntersectionsCurrentLayerAction );

0 comments on commit 38baf6b

Please sign in to comment.