Skip to content

Commit

Permalink
Options: Fix copy&paste error
Browse files Browse the repository at this point in the history
Discovered by Nyall and coverity scan
  • Loading branch information
wonder-sk committed Feb 3, 2015
1 parent abd4a04 commit a2d430e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsoptions.cpp
Expand Up @@ -812,7 +812,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl ) :
}
mDefaultSnappingToleranceComboBox->setCurrentIndex( index );
int defRadiusUnits = settings.value( "/qgis/digitizing/search_radius_vertex_edit_unit", QgsTolerance::Pixels ).toInt();
if ( defRadiusUnits == QgsTolerance::ProjectUnits || defSnapUnits == QgsTolerance::LayerUnits )
if ( defRadiusUnits == QgsTolerance::ProjectUnits || defRadiusUnits == QgsTolerance::LayerUnits )
{
index = mSearchRadiusVertexEditComboBox->findText( tr( "map units" ) );
}
Expand Down

0 comments on commit a2d430e

Please sign in to comment.