Skip to content

Commit

Permalink
Merge pull request #1188 from 3nids/addpointleftclick
Browse files Browse the repository at this point in the history
only add point with left click
  • Loading branch information
wonder-sk committed Feb 18, 2014
2 parents 5e21c55 + 865ab28 commit 6364f13
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/qgsmaptooladdfeature.cpp
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

0 comments on commit 6364f13

Please sign in to comment.