Skip to content
Permalink
Browse files

ogr provider: fix redraw after attribute table update

git-svn-id: http://svn.osgeo.org/qgis/trunk@15521 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Mar 16, 2011
1 parent 85b55ca commit 96cc248050cb8cd41491c86717dff4d11d2731f9
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/providers/ogr/qgsogrprovider.cpp
@@ -505,6 +505,8 @@ bool QgsOgrProvider::nextFeature( QgsFeature& feature )
OGRFeatureH fet;
QgsRectangle selectionRect;

setRelevantFields( mFetchGeom, mAttributesToFetch );

while (( fet = OGR_L_GetNextFeature( ogrLayer ) ) != NULL )
{
// skip features without geometry
@@ -631,8 +633,6 @@ void QgsOgrProvider::select( QgsAttributeList fetchAttributes, QgsRectangle rect
OGR_G_DestroyGeometry( filter );
}

setRelevantFields( fetchGeometry, fetchAttributes );

//start with first feature
OGR_L_ResetReading( ogrLayer );
}

0 comments on commit 96cc248

Please sign in to comment.
You can’t perform that action at this time.