[QGIS Commit] r12599 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Dec 23 11:08:31 EST 2009


Author: wonder
Date: 2009-12-23 11:08:30 -0500 (Wed, 23 Dec 2009)
New Revision: 12599

Modified:
   trunk/qgis/src/app/qgsmaptoolnodetool.cpp
Log:
Refresh canvas after adding a new node (#2313)

Modified: trunk/qgis/src/app/qgsmaptoolnodetool.cpp
===================================================================
--- trunk/qgis/src/app/qgsmaptoolnodetool.cpp	2009-12-23 15:54:57 UTC (rev 12598)
+++ trunk/qgis/src/app/qgsmaptoolnodetool.cpp	2009-12-23 16:08:30 UTC (rev 12599)
@@ -835,6 +835,9 @@
 
         vlayer->endEditCommand();
 
+        // make sure that new node gets its vertex marker
+        mCanvas->refresh();
+
         mSelectionFeature->updateFromFeature();
         mChangingGeometry = false;
       }



More information about the QGIS-commit mailing list