Skip to content
Permalink
Browse files
fixed ticket 59 (zoom tool recieving right click)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5675 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Aug 8, 2006
1 parent 8313a13 commit 6a26b12
Showing 1 changed file with 1 addition and 2 deletions.
@@ -662,8 +662,6 @@ void QgsMapCanvas::contentsMouseReleaseEvent(QMouseEvent * e)
// call handler of current map tool
if (mMapTool)
{
mMapTool->canvasReleaseEvent(e);

// right button was pressed in zoom tool? return to previous non zoom tool
if (e->button() == Qt::RightButton && mMapTool->isZoomTool())
{
@@ -680,6 +678,7 @@ void QgsMapCanvas::contentsMouseReleaseEvent(QMouseEvent * e)
}
return;
}
mMapTool->canvasReleaseEvent(e);
}


0 comments on commit 6a26b12

Please sign in to comment.