Skip to content
Permalink
Browse files

[composer] Loading old templates should default to drawing map canvas…

… items (fix #10581)
  • Loading branch information
nyalldawson committed Jun 14, 2014
1 parent f252a96 commit 703ddb3dbf1c0deea2e4924a309077dd26109813
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/composer/qgscomposermap.cpp
@@ -1205,7 +1205,7 @@ bool QgsComposerMap::readXML( const QDomElement& itemElem, const QDomDocument& d
mKeepLayerSet = false;
}

QString drawCanvasItemsFlag = itemElem.attribute( "drawCanvasItems" );
QString drawCanvasItemsFlag = itemElem.attribute( "drawCanvasItems", "true" );
if ( drawCanvasItemsFlag.compare( "true", Qt::CaseInsensitive ) == 0 )
{
mDrawCanvasItems = true;

0 comments on commit 703ddb3

Please sign in to comment.
You can’t perform that action at this time.