Skip to content

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/qgsmaptoolmovefeature.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ void QgsMapToolMoveFeature::canvasPressEvent(QMouseEvent * e)
7171
//find first geometry under mouse cursor and store iterator to it
7272
QgsPoint layerCoords = toLayerCoords((QgsMapLayer*)vlayer, e->pos());
7373
QSettings settings;
74-
int searchRadius = settings.value("/qgis/digitizing/search_radius_vertex_edit", 10).toInt();
74+
double searchRadius = settings.value("/qgis/digitizing/search_radius_vertex_edit", 10).toDouble();
7575
QgsRect selectRect(layerCoords.x()-searchRadius, layerCoords.y()-searchRadius, \
7676
layerCoords.x()+searchRadius, layerCoords.y()+searchRadius);
7777

0 commit comments

Comments
 (0)
Please sign in to comment.