Skip to content
Permalink
Browse files
Fix for bug #1057
git-svn-id: http://svn.osgeo.org/qgis/trunk@8408 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed May 7, 2008
1 parent a4a6e34 commit fdf71fd
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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);

0 comments on commit fdf71fd

Please sign in to comment.