Skip to content

Commit 6f7b60b

Browse files
committed
[layout] Fix setKeepLayerSet in map composer import
1 parent f868bcc commit 6f7b60b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/layout/qgscompositionconverter.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ bool QgsCompositionConverter::readMapXml( QgsLayoutItemMap *layoutItem, const QD
782782
}
783783
else
784784
{
785-
layoutItem->setKeepLayerSet( true );
785+
layoutItem->setKeepLayerSet( false );
786786
}
787787

788788
QString drawCanvasItemsFlag = itemElem.attribute( QStringLiteral( "drawCanvasItems" ), QStringLiteral( "true" ) );

0 commit comments

Comments
 (0)