Skip to content

Commit 7138c7a

Browse files
committed
Merge branch 'master' of github.com:qgis/QGIS
2 parents 43af9ea + 6364f13 commit 7138c7a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/app/qgsmaptooladdfeature.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ void QgsMapToolAddFeature::canvasReleaseEvent( QMouseEvent * e )
9595
// POINT CAPTURING
9696
if ( mode() == CapturePoint )
9797
{
98+
if ( e->button() != Qt::LeftButton )
99+
return;
100+
98101
//check we only use this tool for point/multipoint layers
99102
if ( vlayer->geometryType() != QGis::Point )
100103
{

0 commit comments

Comments
 (0)