Skip to content

Commit 865ab28

Browse files
committedFeb 18, 2014
only add point with left click
1 parent 5e21c55 commit 865ab28

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)
Please sign in to comment.