Skip to content
Permalink
Browse files

Tweak for previous commit. After stopping measuring with a right mouse

click, a left mouse click not starts a new measuring


git-svn-id: http://svn.osgeo.org/qgis/trunk@6154 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m
g_j_m committed Nov 30, 2006
1 parent 1b0ed3c commit 7f236f7c2f4a675ffa240610a20dacf097ab208a
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/gui/qgsmeasure.cpp
@@ -304,6 +304,9 @@ void QgsMeasure::canvasPressEvent(QMouseEvent * e)
{
if (e->button() == Qt::LeftButton)
{
if (mRightMouseClicked)
restart();

QgsPoint idPoint = mCanvas->getCoordinateTransform()->toMapCoordinates(e->x(), e->y());
mousePress(idPoint);
}

0 comments on commit 7f236f7

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