Hi,
It looks like there is no recent Windows build for QGIS (no recent nightlies,
and the weekly is 10 days old). No new package for days when running osgeo4w
installer and nothing new at
https://ftp.osuosl.org/pub/osgeo/download/QGIS/windows
Thanks for any fix.
Regards,
Harrissou
First you have to retrieve the current layertree to do modifications:
tree = QgsProject.instance().layerTreeRoot()
...and after setting your order:
tree.setCustomLayerOrder(layersII)
...you have to set that a layer order should be considered:
tree.setHasCustomLayerOrder(True)
On Wed, Oct 23, 2024