Skip to content
Permalink
Browse files

Merge pull request #1188 from 3nids/addpointleftclick

only add point with left click
  • Loading branch information
wonder-sk committed Feb 18, 2014
2 parents 5e21c55 + 865ab28 commit 6364f1399c3a1c50e283cb3743787bca15c86468
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/app/qgsmaptooladdfeature.cpp
@@ -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 )
{

0 comments on commit 6364f13

Please sign in to comment.
You can’t perform that action at this time.