[layout] Fix setKeepLayerSet in map composer import

This commit is contained in:
Alessandro Pasotti 2018-01-10 17:59:32 +01:00
parent f868bcc691
commit 6f7b60ba17

View File

@ -782,7 +782,7 @@ bool QgsCompositionConverter::readMapXml( QgsLayoutItemMap *layoutItem, const QD
}
else
{
layoutItem->setKeepLayerSet( true );
layoutItem->setKeepLayerSet( false );
}
QString drawCanvasItemsFlag = itemElem.attribute( QStringLiteral( "drawCanvasItems" ), QStringLiteral( "true" ) );