Skip to content

Commit 8190e4c

Browse files
committedSep 21, 2016
[snapping] fix default advanced mode values for added layers
Backported from PR #3513 (cherry picked from commit be636c1)
1 parent 6a3222b commit 8190e4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/qgssnappingdialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ void QgsSnappingDialog::addLayer( QgsMapLayer *theMapLayer )
310310
bool myDockFlag = myQsettings.value( "/qgis/dockSnapping", false ).toBool();
311311
double defaultSnappingTolerance = myQsettings.value( "/qgis/digitizing/default_snapping_tolerance", 0 ).toDouble();
312312
int defaultSnappingUnit = myQsettings.value( "/qgis/digitizing/default_snapping_tolerance_unit", QgsTolerance::ProjectUnits ).toInt();
313-
QString defaultSnappingString = myQsettings.value( "/qgis/digitizing/default_snap_mode", "to vertex" ).toString();
313+
QString defaultSnappingString = myQsettings.value( "/qgis/digitizing/default_snap_mode", "off" ).toString();
314314

315315
int defaultSnappingStringIdx = 0;
316316
if ( defaultSnappingString == "to vertex" )

0 commit comments

Comments
 (0)
Please sign in to comment.