Skip to content
Permalink
Browse files

only add point with left click

  • Loading branch information
3nids committed Feb 18, 2014
1 parent 5e21c55 commit 865ab28d0e51d26178fc75a65981d13d07b3da9a
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 865ab28

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