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 6a26b122f082e9c4fc54c1d832837225b1f3d6ec
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/gui/qgsmapcanvas.cpp
@@ -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.