Delete rubberband if deactivating capture tool

This commit is contained in:
Marco Hugentobler 2013-05-24 23:05:08 +02:00
parent dcc72d26b5
commit b5a5264c7f

View File

@ -67,6 +67,8 @@ void QgsMapToolCapture::deactivate()
while ( !mSnappingMarkers.isEmpty() )
delete mSnappingMarkers.takeFirst();
stopCapturing();
QgsMapToolEdit::deactivate();
}