Also i tried this:

  QgsPalLayerSettings lyr;
  lyr.readFromLayer(m_layer);
  lyr.labelPerPart = false;
  lyr.writeToLayer(m_layer);

but it now worked too...What i`m doing wrong?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Labeling-in-vector-layer-development-on-Qt-tp5103733p5103742.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to