Skip to content
Permalink
Browse files

Remove unrequired call to repaint map

The addFeature() call before returns immeditely, so there isn't even
something around to justify a repaint.
  • Loading branch information
m-kuhn committed Oct 24, 2017
1 parent dbd2cc9 commit 7dbae64cc7e9882c7833c3a887c2ed80f46a4fca
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/app/qgsmaptooladdfeature.cpp
@@ -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();
}

2 comments on commit 7dbae64

@nirvn

This comment has been minimized.

Copy link
Contributor

@nirvn nirvn replied Nov 10, 2017

@m-kuhn , this needs to be reverted as it caused the following regression: https://issues.qgis.org/issues/17426

@nirvn

This comment has been minimized.

Copy link
Contributor

@nirvn nirvn replied Nov 10, 2017

Better fix coming, ignore.

Please sign in to comment.
You can’t perform that action at this time.