Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[layouts] Fix remaining composers are not restored after hitting
a composer which could not be added

Refs #17924
  • Loading branch information
nyalldawson committed Jan 24, 2018
1 parent d3baac6 commit 6eed7de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/layout/qgslayoutmanager.cpp
Expand Up @@ -155,7 +155,8 @@ bool QgsLayoutManager::readXml( const QDomElement &element, const QDomDocument &
{
if ( l->name().isEmpty() )
l->setName( legacyTitle );
result = result && addLayout( l.release() );
bool added = addLayout( l.release() );
result = added && result;
}
}
}
Expand Down

0 comments on commit 6eed7de

Please sign in to comment.