mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
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:
parent
9c0f6bb0d2
commit
48fef9319f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user