[Qgis-developer] EasyCustomLabeling ported to QGIS 2.0
Régis Haubourg
regis.haubourg at eau-adour-garonne.fr
Sat Feb 1 07:03:02 PST 2014
Just a followup, when restoring a memory layer thanks to memory layer saver,
we got QpyNullVariant objects, when we had NoneType object on memory layer's
creation. Updating the values to None restore the unpinned labels. Just use
this
layer.changeAttributeValue(myFeatureId, myfieldId, None)
I will try to patch memory Layers Saver for this, since I assume some other
side effects with memory layers are expectable
Régis.
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/EasyCustomLabeling-ported-to-QGIS-2-0-tp5101254p5101354.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
More information about the Qgis-developer
mailing list