mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Fix for ticket #69
git-svn-id: http://svn.osgeo.org/qgis/trunk@5261 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
cd7af0d727
commit
e58150e895
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user