mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
Fix item reading for GetPrint (project file format changed between 1.8 and 1.9)
This commit is contained in:
parent
fb84775629
commit
a88af64eeb
@ -1170,7 +1170,7 @@ QgsComposition* QgsProjectParser::initComposition( const QString& composerTempla
|
||||
}
|
||||
|
||||
//go through all the item elements and add them to the composition (and to the lists)
|
||||
QDomNodeList itemNodes = composerElem.childNodes();
|
||||
QDomNodeList itemNodes = compositionElem.childNodes();
|
||||
for ( int i = 0; i < itemNodes.size(); ++i )
|
||||
{
|
||||
QDomElement currentElem = itemNodes.at( i ).toElement();
|
||||
|
Loading…
x
Reference in New Issue
Block a user