Cannot use layer order if non-geometric layers are used #17849
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Map and Legend
Related to map or legend rendering
Milestone
Author Name: Denis Rouzaud (@3nids)
Original Redmine Issue: 9228
Affected QGIS version: 2.0.1
Redmine category:map_legend
If you have non-geometric layers and want to use the custom layer order, it is disabled every time your re-open the project.
This message appears in the log:
The problem comes from the fact that sometimes drawingOrder="-1" in the legend node for the non-geometric layers.
And then, in QgsLegend::verifyDrawingOrder, if a legend layer has drawingOrder < 0, it will reorder the layers according to the legend.
The text was updated successfully, but these errors were encountered: