mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-02 00:02:12 -05:00
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:
parent
dbd2cc95f2
commit
7dbae64cc7
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user