Skip to content
Permalink
Browse files

Fix snapping default unit set to pixels is not respected

  • Loading branch information
nyalldawson committed Jan 30, 2018
1 parent eb42afe commit 382ccfe48c34dcc3ec499cb7f8ab6790e8906907
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgssnappingconfig.cpp
@@ -135,7 +135,7 @@ void QgsSnappingConfig::reset()
mType = type;
mTolerance = tolerance;
// do not allow unit to be "layer" if not in advanced configuration
if ( mMode != AdvancedConfiguration )
if ( mUnits == QgsTolerance::LayerUnits && mMode != AdvancedConfiguration )
{
mUnits = QgsTolerance::ProjectUnits;
}

0 comments on commit 382ccfe

Please sign in to comment.
You can’t perform that action at this time.