File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,6 @@ void QgsAttributeTable::handleChangedSelections()
142
142
// don't send the signal repaintRequested() from here
143
143
// but in contentsMouseReleaseEvent() and rowClicked(int)
144
144
// todo: don't repaint in case of double clicks
145
-
146
145
}
147
146
148
147
void QgsAttributeTable::insertFeatureId (int id, int row)
Original file line number Diff line number Diff line change @@ -1254,9 +1254,6 @@ int QgsOgrProvider::capabilities() const
1254
1254
ability |= DeleteFeatures;
1255
1255
}
1256
1256
1257
- // seems to work with newer ogr versions
1258
- // ability |= ChangeAttributeValues;
1259
-
1260
1257
if (ogrLayer->TestCapability (" RandomWrite" ))
1261
1258
// TRUE if the SetFeature() method is operational on this layer.
1262
1259
{
@@ -1265,6 +1262,7 @@ int QgsOgrProvider::capabilities() const
1265
1262
// TODO Need to work out versions of shapelib vs versions of GDAL/OGR
1266
1263
// TODO And test appropriately.
1267
1264
1265
+ ability |= ChangeAttributeValues;
1268
1266
// This provider can't change geometries yet anyway (cf. Postgres provider)
1269
1267
// ability |= QgsVectorDataProvider::ChangeGeometries;
1270
1268
}
You can’t perform that action at this time.
0 commit comments