mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-06 00:05:02 -05:00
Turn relative path into absolute path for reading embedded projects. Fixes #34060
This commit is contained in:
parent
504d43acc2
commit
b52b2436f8
@ -1621,7 +1621,7 @@ void QgsProject::loadEmbeddedNodes( QgsLayerTreeGroup *group, QgsProject::ReadFl
|
||||
if ( child->customProperty( QStringLiteral( "embedded" ) ).toInt() )
|
||||
{
|
||||
QList<QDomNode> brokenNodes;
|
||||
createEmbeddedLayer( QgsLayerTree::toLayer( child )->layerId(), child->customProperty( QStringLiteral( "embedded_project" ) ).toString(), brokenNodes, flags );
|
||||
createEmbeddedLayer( QgsLayerTree::toLayer( child )->layerId(), readPath( child->customProperty( QStringLiteral( "embedded_project" ) ).toString() ), brokenNodes, flags );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user