Hi Nyall It's probably the same issue as described here:
http://osgeo-org.1560.x6.nabble.com/API-Break-in-2-16-for-QgsComposition-td5276424.html Regards Tim Sutton Co-founder of Kartoza QGIS project chairman > On 21 Mar 2017, at 10:56 AM, Nyall Dawson <nyall.daw...@gmail.com> wrote: > > Hi all, > > I noticed today that composer item subclassing seems broken in 2.18.4 (on > linux, untested on other platforms). If I enter something like: > > iface.activeComposers()[0].items() > > I see mostly QgsComposerItem items, rather then the correct subclasses. It's > random though, and sometimes the correct item type is returned. > > Is anyone else experiencing this? I'm stumped with this - I can't see any > related changes in the code, and the generated cpp looks fine to me. > > Nyall > _______________________________________________ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer