ok I created a PR, not so sure about MapLayers https://github.com/qgis/QGIS/pull/6918
Cheers Matteo _______________________________________________ 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