[QGIS-Developer] Has QgsLayout.itemById() changed?
Nyall Dawson
nyall.dawson at gmail.com
Sun Sep 23 02:27:03 PDT 2018
On Fri, 21 Sep 2018 at 23:20, Raymond Nijssen <r.nijssen at terglobo.nl> wrote:
> which doesn't work anymore, because there is no setText() function on a
> QgsLayoutItem. Has anything changed recently? Does any one know a solution?
Nothing has changed recently -- this has always been fragile, and the
bug lies deep within the library used to create the Python bindings.
See e.g.
http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-QgsLayout-itemById-returns-wrong-object-td5350947.html
for a workaround
Nyall
Nyall
>
> Regards,
> Raymond
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
More information about the QGIS-Developer
mailing list