Skip to content

Commit 2ba5604

Browse files
author
mhugent
committed
fixed copy paste bug
git-svn-id: http://svn.osgeo.org/qgis/trunk@4961 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 5de4b20 commit 2ba5604

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gui/qgisapp.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -3464,14 +3464,14 @@ void QgisApp::capturePoint()
34643464

34653465
void QgisApp::captureLine()
34663466
{
3467-
QgsMapTool* t = new QgsMapToolCapture(mMapCanvas, QgsMapToolCapture::CapturePoint);
3467+
QgsMapTool* t = new QgsMapToolCapture(mMapCanvas, QgsMapToolCapture::CaptureLine);
34683468
t->setAction(mActionCaptureLine);
34693469
mMapCanvas->setMapTool(t);
34703470
}
34713471

34723472
void QgisApp::capturePolygon()
34733473
{
3474-
QgsMapTool* t = new QgsMapToolCapture(mMapCanvas, QgsMapToolCapture::CapturePoint);
3474+
QgsMapTool* t = new QgsMapToolCapture(mMapCanvas, QgsMapToolCapture::CapturePolygon);
34753475
t->setAction(mActionCapturePolygon);
34763476
mMapCanvas->setMapTool(t);
34773477
}

0 commit comments

Comments
 (0)