Skip to content

Commit 39b5259

Browse files
committedOct 27, 2017
[offset curve tool] ensure snapping is enabled when selecting feature
1 parent b034c2c commit 39b5259

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/app/qgsmaptooloffsetcurve.cpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ void QgsMapToolOffsetCurve::canvasReleaseEvent( QgsMapMouseEvent *e )
8989
QgsSnappingConfig config = snapping->config();
9090
// setup new settings (temporary)
9191
QgsSettings settings;
92+
config.setEnabled( true );
9293
config.setMode( QgsSnappingConfig::AllLayers );
9394
config.setType( QgsSnappingConfig::Segment );
9495
config.setTolerance( settings.value( QStringLiteral( "qgis/digitizing/search_radius_vertex_edit" ), 10 ).toDouble() );

0 commit comments

Comments
 (0)
Please sign in to comment.