Skip to content
Permalink
Browse files
fixed copy paste bug
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 717e13ccdd880e521ea84f11b6f468ae17ce068b
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/qgisapp.cpp
@@ -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);
}

0 comments on commit 717e13c

Please sign in to comment.