Skip to content
Permalink
Browse files
[snapping] fix default advanced mode values for added layers
Backported from PR #3513

(cherry picked from commit be636c1)
  • Loading branch information
wonder-sk committed Sep 21, 2016
1 parent 0f73cdf commit bcec7ab09c6e9b0e2da22cc778a0a72790bd906d
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 bcec7ab

Please sign in to comment.