Skip to content

Commit

Permalink
Remove groupUuid when copying grouped layout items
Browse files Browse the repository at this point in the history
  • Loading branch information
jdugge authored and nyalldawson committed May 3, 2020
1 parent c5b7d73 commit 797972a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/layout/qgslayoutview.cpp
Expand Up @@ -364,6 +364,7 @@ void QgsLayoutView::copyItems( const QList<QgsLayoutItem *> &items, QgsLayoutVie
if ( itemNode.isElement() )
{
itemNode.toElement().removeAttribute( QStringLiteral( "uuid" ) );
itemNode.toElement().removeAttribute( QStringLiteral( "groupUuid" ) );
}
}
QDomNodeList multiFrameNodes = doc.elementsByTagName( QStringLiteral( "LayoutMultiFrame" ) );
Expand Down

0 comments on commit 797972a

Please sign in to comment.