Skip to content

Commit

Permalink
fixed copy paste bug
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4961 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Mar 3, 2006
1 parent e8e4ff7 commit 717e13c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3464,14 +3464,14 @@ void QgisApp::capturePoint()

void QgisApp::captureLine()
{
QgsMapTool* t = new QgsMapToolCapture(mMapCanvas, QgsMapToolCapture::CapturePoint);
QgsMapTool* t = new QgsMapToolCapture(mMapCanvas, QgsMapToolCapture::CaptureLine);
t->setAction(mActionCaptureLine);
mMapCanvas->setMapTool(t);
}

void QgisApp::capturePolygon()
{
QgsMapTool* t = new QgsMapToolCapture(mMapCanvas, QgsMapToolCapture::CapturePoint);
QgsMapTool* t = new QgsMapToolCapture(mMapCanvas, QgsMapToolCapture::CapturePolygon);
t->setAction(mActionCapturePolygon);
mMapCanvas->setMapTool(t);
}
Expand Down

0 comments on commit 717e13c

Please sign in to comment.