Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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 703ddb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposermap.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 703ddb3

Please sign in to comment.