Skip to content

Commit e6331e4

Browse files
committed
[layouts] Fix grids are not visible on restoring projects
Fixes #18177
1 parent efae0fc commit e6331e4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/core/layout/qgslayoutitemmap.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,9 @@ bool QgsLayoutItemMap::readPropertiesFromElement( const QDomElement &itemElem, c
729729
}
730730
mAtlasMargin = atlasElem.attribute( QStringLiteral( "margin" ), QStringLiteral( "0.1" ) ).toDouble();
731731
}
732+
733+
updateBoundingRect();
734+
732735
mUpdatesEnabled = true;
733736
return true;
734737
}

0 commit comments

Comments
 (0)