Skip to content

Commit

Permalink
Merge branch 'master' of github.com:qgis/QGIS
Browse files Browse the repository at this point in the history
  • Loading branch information
pcav committed Feb 18, 2014
2 parents 43af9ea + 6364f13 commit 7138c7a
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 7138c7a

Please sign in to comment.