Hi,

having a python plugin which is supposed to check if there are labels I
use someting like this (python console):

iface.mapCanvas().currentLayer().hasLabelsEnabled()

(for an active simple point vector layer loaded)

But this always return False

is this method not working anymore because we switched label enginges?
Or is there something I do wrong?

See
http://qgis.org/api/classQgsVectorLayer.html#a5f6d192834d0370b66ebb5952a95feb5

Regards,

Richard Duivenvoorde
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to