Hi,

2017-11-06 21:15 GMT+01:00 Martin Landa <[email protected]>:
> 2017-11-06 17:17 GMT+01:00 Jürgen E. Fischer <[email protected]>:
>> Don't use the provider directly, but the layer, ie. startEditing, addFeature,
>> commitChanges - or layer.reload() after changing via the provider.

I changed my code to use layer.startEditing + addFeature +
commitChanges(). But unfortunately there is no change in behaviour.
The features are displayed in map cancas, identify working, but
attribute table is empty. The only difference is between QGIS 2.14
(records with NULL values, see [1]) and 2.18 (empty table). Any idea
what could be wrong?

Thanks, Ma

[1] http://geo102.fsv.cvut.cz/~landa/tmp/qgis-no-attrs-2-14.png

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to