Skip to content

Commit

Permalink
Fix annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Dec 11, 2020
1 parent 825cf3d commit 301d838
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/annotations/qgsannotationmanager.cpp
Expand Up @@ -101,7 +101,7 @@ bool QgsAnnotationManager::readXml( const QDomElement &element, const QgsReadWri
}

// restore old (pre 3.0) project annotations
if ( annotationsElem.isNull() )
if ( annotationElement.isNull() )
{
QDomNodeList oldItemList = element.elementsByTagName( QStringLiteral( "TextAnnotationItem" ) );
for ( int i = 0; i < oldItemList.size(); ++i )
Expand Down
Binary file modified tests/testdata/qgis_server/test_project_wms_filter.gpkg
Binary file not shown.

0 comments on commit 301d838

Please sign in to comment.