Hi all, I got a crash when I did this:
fields = layer.dataProvider().fields()
f = QgsFeature()
f.setFields(fields)
for field in fields:
f[field.name()] = QVariant("1")
Using QVariant or not.
What did I (again) did wrong ????
Greetings,
Denis
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
