Skip to content
Permalink
Browse files
fixed ticket 59 (zoom tool recieving right click)
git-svn-id: http://svn.osgeo.org/qgis/trunk@5675 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Aug 8, 2006
1 parent 7fbe38d commit d805cd984e0f287397557f2e0453e9e5d6332591
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 d805cd9

Please sign in to comment.