Skip to content

Commit

Permalink
[offset curve tool] ensure snapping is enabled when selecting feature
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Oct 27, 2017
1 parent b034c2c commit 39b5259
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/qgsmaptooloffsetcurve.cpp
Expand Up @@ -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() );
Expand Down

0 comments on commit 39b5259

Please sign in to comment.