Re: [Qgis-developer] layer.hasLabelsEnabled always returning False?

2014-04-11 Thread Hugo Mercier
Hi Richard, Le 11/04/2014 12:01, Richard Duivenvoorde a écrit : > 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 loade

[Qgis-developer] layer.hasLabelsEnabled always returning False?

2014-04-11 Thread Richard Duivenvoorde
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 s