Showing with 3 additions and 0 deletions.
  1. +3 −0 src/app/qgsmaptooladdfeature.cpp
3 changes: 3 additions & 0 deletions src/app/qgsmaptooladdfeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ void QgsMapToolAddFeature::canvasReleaseEvent( QMouseEvent * e )
// POINT CAPTURING
if ( mode() == CapturePoint )
{
if ( e->button() != Qt::LeftButton )
return;

//check we only use this tool for point/multipoint layers
if ( vlayer->geometryType() != QGis::Point )
{
Expand Down