File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -2168,15 +2168,9 @@ bool QgsOgrProvider::changeAttributeValues( const QgsChangedAttributesMap &attr_
2168
2168
// But this is undesirable in general, so don't do this when we know that
2169
2169
// we don't need to.
2170
2170
bool mayNeedResetReadingAfterGetFeature = true ;
2171
- if ( mGDALDriverName == QLatin1String ( " ESRI Shapefile" ) )
2172
- {
2173
- mayNeedResetReadingAfterGetFeature = false ;
2174
- }
2175
- else if ( mGDALDriverName == QLatin1String ( " GPKG" ) )
2176
- {
2177
- mayNeedResetReadingAfterGetFeature = false ;
2178
- }
2179
- else if ( mGDALDriverName == QLatin1String ( " CSV" ) )
2171
+ if ( mGDALDriverName == QLatin1String ( " ESRI Shapefile" ) ||
2172
+ mGDALDriverName == QLatin1String ( " GPKG" ) ||
2173
+ mGDALDriverName == QLatin1String ( " CSV" ) )
2180
2174
{
2181
2175
mayNeedResetReadingAfterGetFeature = false ;
2182
2176
}
You can’t perform that action at this time.
0 commit comments