mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Update canvas layers when a project is loaded (force correct order)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6920 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
6067f34416
commit
045e4d76be
@ -1764,6 +1764,9 @@ void QgsLegend::readProject(const QDomDocument & doc)
|
||||
{
|
||||
QDomNode node = nodes.item(0);
|
||||
readXML(node);
|
||||
|
||||
// update canvas layers to match the order defined by legend
|
||||
updateMapCanvasLayerSet();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user