Skip to content
Permalink
Browse files
[snapping] fix default advanced mode values for added layers
Backported from PR #3513
  • Loading branch information
wonder-sk committed Sep 21, 2016
1 parent bedd596 commit be636c178cd527f4533f467292acd05bde4238c9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgssnappingdialog.cpp
@@ -310,7 +310,7 @@ void QgsSnappingDialog::addLayer( QgsMapLayer *theMapLayer )
bool myDockFlag = myQsettings.value( "/qgis/dockSnapping", false ).toBool();
double defaultSnappingTolerance = myQsettings.value( "/qgis/digitizing/default_snapping_tolerance", 0 ).toDouble();
int defaultSnappingUnit = myQsettings.value( "/qgis/digitizing/default_snapping_tolerance_unit", QgsTolerance::ProjectUnits ).toInt();
QString defaultSnappingString = myQsettings.value( "/qgis/digitizing/default_snap_mode", "to vertex" ).toString();
QString defaultSnappingString = myQsettings.value( "/qgis/digitizing/default_snap_mode", "off" ).toString();

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

0 comments on commit be636c1

Please sign in to comment.