[QGIS Commit] r14395 - trunk/qgis/src/app/attributetable

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sun Oct 17 20:40:19 EDT 2010


Author: jef
Date: 2010-10-17 17:40:19 -0700 (Sun, 17 Oct 2010)
New Revision: 14395

Modified:
   trunk/qgis/src/app/attributetable/qgsattributetablemodel.cpp
Log:
fix #3132

Modified: trunk/qgis/src/app/attributetable/qgsattributetablemodel.cpp
===================================================================
--- trunk/qgis/src/app/attributetable/qgsattributetablemodel.cpp	2010-10-18 00:13:51 UTC (rev 14394)
+++ trunk/qgis/src/app/attributetable/qgsattributetablemodel.cpp	2010-10-18 00:40:19 UTC (rev 14395)
@@ -479,6 +479,7 @@
 
 void QgsAttributeTableModel::reload( const QModelIndex &index1, const QModelIndex &index2 )
 {
+  mFeat.setFeatureId( std::numeric_limits<int>::min() );
   emit dataChanged( index1, index2 );
 }
 



More information about the QGIS-commit mailing list