Skip to content

Commit

Permalink
Refresh canvas after adding a new node (#2313)
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@12599 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Dec 23, 2009
1 parent bacd4fe commit 3380930
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/qgsmaptoolnodetool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,9 @@ void QgsMapToolNodeTool::canvasDoubleClickEvent( QMouseEvent * e )

vlayer->endEditCommand();

// make sure that new node gets its vertex marker
mCanvas->refresh();

mSelectionFeature->updateFromFeature();
mChangingGeometry = false;
}
Expand Down

0 comments on commit 3380930

Please sign in to comment.