Skip to content

Commit

Permalink
fixed ticket 59 (zoom tool recieving right click)
Browse files Browse the repository at this point in the history
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 d805cd9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/gui/qgsmapcanvas.cpp
Expand Up @@ -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())
{
Expand All @@ -680,6 +678,7 @@ void QgsMapCanvas::contentsMouseReleaseEvent(QMouseEvent * e)
}
return;
}
mMapTool->canvasReleaseEvent(e);
}


Expand Down

0 comments on commit d805cd9

Please sign in to comment.