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

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Apr 23 17:11:34 EDT 2010


Author: jef
Date: 2010-04-23 17:11:33 -0400 (Fri, 23 Apr 2010)
New Revision: 13355

Modified:
   trunk/qgis/src/app/qgsmaptoolnodetool.cpp
Log:
fix #2675

Modified: trunk/qgis/src/app/qgsmaptoolnodetool.cpp
===================================================================
--- trunk/qgis/src/app/qgsmaptoolnodetool.cpp	2010-04-23 15:35:17 UTC (rev 13354)
+++ trunk/qgis/src/app/qgsmaptoolnodetool.cpp	2010-04-23 21:11:33 UTC (rev 13355)
@@ -864,7 +864,7 @@
     mCtrl = false;
     return;
   }
-  if ( e->key() == Qt::Key_Delete )
+  if ( mSelectionFeature && e->key() == Qt::Key_Delete )
   {
     mChangingGeometry = true;
     mSelectionFeature->deleteSelectedVertexes();



More information about the QGIS-commit mailing list