mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-04 00:04:03 -04:00
Fix referencingLayersElement not being added in QgsVectorLayer::writeSymbology
This commit is contained in:
parent
0503771bf1
commit
bca94c2377
@ -3072,7 +3072,7 @@ bool QgsVectorLayer::writeSymbology( QDomNode &node, QDomDocument &doc, QString
|
||||
|
||||
// Store referencing layers: relations where "this" is the parent layer (the referenced part, that holds the FK)
|
||||
QDomElement referencingLayersElement = doc.createElement( QStringLiteral( "referencingLayers" ) );
|
||||
node.appendChild( referencedLayersElement );
|
||||
node.appendChild( referencingLayersElement );
|
||||
|
||||
const QList<QgsRelation> referencedRelations { p->relationManager()->referencedRelations( this ) };
|
||||
for ( const QgsRelation &rel : referencedRelations )
|
||||
|
Loading…
x
Reference in New Issue
Block a user