You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
layerNode.toElement().setAttribute( "id", newid );
63
64
}
64
65
}
66
+
67
+
// change layer IDs for vector joins
68
+
QDomNodeList vectorJoinNodes = doc.elementsByTagName( "join" ); // TODO: Find a better way of searching for vectorjoins, there might be other <join> elements within the project.
69
+
for ( int j = 0; j < vectorJoinNodes.size(); ++j )
70
+
{
71
+
QDomNode joinNode = vectorJoinNodes.at( j );
72
+
QDomElement joinElement = joinNode.toElement();
73
+
if ( joinElement.attribute( "joinLayerId" ) == oldid )
74
+
{
75
+
joinNode.toElement().setAttribute( "joinLayerId", newid );
0 commit comments