Skip to content
Permalink
Browse files

[offset curve tool] ensure snapping is enabled when selecting feature

  • Loading branch information
nirvn committed Oct 25, 2017
1 parent b034c2c commit 39b52595c38aec28211278b27f0d7ace72e9c39e
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/app/qgsmaptooloffsetcurve.cpp
@@ -89,6 +89,7 @@ void QgsMapToolOffsetCurve::canvasReleaseEvent( QgsMapMouseEvent *e )
QgsSnappingConfig config = snapping->config();
// setup new settings (temporary)
QgsSettings settings;
config.setEnabled( true );
config.setMode( QgsSnappingConfig::AllLayers );
config.setType( QgsSnappingConfig::Segment );
config.setTolerance( settings.value( QStringLiteral( "qgis/digitizing/search_radius_vertex_edit" ), 10 ).toDouble() );

0 comments on commit 39b5259

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