Skip to content

Commit

Permalink
Fix for bug #1057
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8408 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed May 7, 2008
1 parent f5a8d2d commit f1d3377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsmaptoolmovefeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ void QgsMapToolMoveFeature::canvasPressEvent(QMouseEvent * e)
//find first geometry under mouse cursor and store iterator to it
QgsPoint layerCoords = toLayerCoords((QgsMapLayer*)vlayer, e->pos());
QSettings settings;
int searchRadius = settings.value("/qgis/digitizing/search_radius_vertex_edit", 10).toInt();
double searchRadius = settings.value("/qgis/digitizing/search_radius_vertex_edit", 10).toDouble();
QgsRect selectRect(layerCoords.x()-searchRadius, layerCoords.y()-searchRadius, \
layerCoords.x()+searchRadius, layerCoords.y()+searchRadius);

Expand Down

0 comments on commit f1d3377

Please sign in to comment.