Skip to content

Commit

Permalink
[layouts] Fix grids are not visible on restoring projects
Browse files Browse the repository at this point in the history
Fixes #18177
  • Loading branch information
nyalldawson committed Feb 22, 2018
1 parent efae0fc commit e6331e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/layout/qgslayoutitemmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,9 @@ bool QgsLayoutItemMap::readPropertiesFromElement( const QDomElement &itemElem, c
}
mAtlasMargin = atlasElem.attribute( QStringLiteral( "margin" ), QStringLiteral( "0.1" ) ).toDouble();
}

updateBoundingRect();

mUpdatesEnabled = true;
return true;
}
Expand Down

0 comments on commit e6331e4

Please sign in to comment.