Skip to content

Commit

Permalink
Fix for ticket #69
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5261 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Apr 11, 2006
1 parent 5fec38a commit 1bb5c82
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/gui/qgsmeasure.cpp
Expand Up @@ -292,11 +292,8 @@ void QgsMeasure::canvasPressEvent(QMouseEvent * e)

void QgsMeasure::canvasMoveEvent(QMouseEvent * e)
{
if (e->state() & Qt::LeftButton)
{
QgsPoint point = mCanvas->getCoordinateTransform()->toMapCoordinates(e->pos().x(), e->pos().y());
mouseMove(point);
}
QgsPoint point = mCanvas->getCoordinateTransform()->toMapCoordinates(e->pos().x(), e->pos().y());
mouseMove(point);
}


Expand Down

0 comments on commit 1bb5c82

Please sign in to comment.