Fix regression in Valentina's layout. Unite pages worked incorrect.

This commit is contained in:
Roman Telezhynskyi 2021-10-01 18:31:23 +03:00
parent b7ee561024
commit e42775f48e

View File

@ -453,7 +453,7 @@ QRectF VLayoutPaper::DetailsBoundingRect() const
QRectF rec;
for (auto &detail : d->details)
{
rec = rec.united(detail.DetailBoundingRect());
rec = rec.united(detail.MappedDetailBoundingRect());
}
return rec;