Remove unrequired call to repaint map

The addFeature() call before returns immeditely, so there isn't even
something around to justify a repaint.
This commit is contained in:
Matthias Kuhn 2017-10-24 18:28:41 +02:00
parent dbd2cc95f2
commit 7dbae64cc7
No known key found for this signature in database
GPG Key ID: A0E766808764D73F

View File

@ -179,8 +179,6 @@ void QgsMapToolAddFeature::cadCanvasReleaseEvent( QgsMapMouseEvent *e )
addFeature( vlayer, &f, false );
vlayer->triggerRepaint();
// we are done with digitizing for now so instruct advanced digitizing dock to reset its CAD points
cadDockWidget()->clearPoints();
}