Fix for #1255 (again, last time in r6368). I hope this will be the last time I fix this bug. :-)

git-svn-id: http://svn.osgeo.org/qgis/trunk@9360 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
homann 2008-09-19 20:23:11 +00:00
parent 9c0f6bb0d2
commit 48fef9319f

View File

@ -422,8 +422,8 @@ void QgsPointDialog::deleteDataPoint( QgsPoint& coords )
QgsDebugMsg( QString( "deleteDataPoint! test: %1" ).arg(( x*x + y*y ) ) );
if (( x*x + y*y ) < maxDistSqr )
{
mPoints.erase( it );
delete *it;
mPoints.erase( it );
--mAcetateCounter;
mCanvas->refresh();
break;