[QGIS Commit] r9360 - trunk/qgis/src/plugins/georeferencer

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Sep 19 16:23:11 EDT 2008


Author: homann
Date: 2008-09-19 16:23:11 -0400 (Fri, 19 Sep 2008)
New Revision: 9360

Modified:
   trunk/qgis/src/plugins/georeferencer/qgspointdialog.cpp
Log:
Fix for #1255 (again, last time in r6368). I hope this will be the last time I fix this bug. :-)

Modified: trunk/qgis/src/plugins/georeferencer/qgspointdialog.cpp
===================================================================
--- trunk/qgis/src/plugins/georeferencer/qgspointdialog.cpp	2008-09-19 19:57:56 UTC (rev 9359)
+++ trunk/qgis/src/plugins/georeferencer/qgspointdialog.cpp	2008-09-19 20:23:11 UTC (rev 9360)
@@ -422,8 +422,8 @@
     QgsDebugMsg( QString( "deleteDataPoint! test: %1" ).arg(( x*x + y*y ) ) );
     if (( x*x + y*y ) < maxDistSqr )
     {
+      delete *it;
       mPoints.erase( it );
-      delete *it;
       --mAcetateCounter;
       mCanvas->refresh();
       break;



More information about the QGIS-commit mailing list