Skip to content

Commit

Permalink
only add point with left click
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Feb 18, 2014
1 parent 5e21c55 commit 865ab28
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 865ab28

Please sign in to comment.