0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-10-02 19:56:58 +03:00

Merge tag '1.5.72' into develop

Finish 1.5.72
This commit is contained in:
Arin Alexander
2020-10-14 16:20:17 +03:00
2 changed files with 2 additions and 3 deletions

View File

@@ -244,8 +244,7 @@ int PageItemDesignIntf::calcBandIndex(BandDesignIntf::BandsType bandType, BandDe
} else {
int maxChildIndex = 0;
foreach(BandDesignIntf* band, m_bands){
if (band->bandType() == BandDesignIntf::Data)
maxChildIndex = std::max(maxChildIndex, band->maxChildIndex());
maxChildIndex = std::max(maxChildIndex, band->maxChildIndex());
}
bandIndex = std::max(bandIndex, maxChildIndex + 1);
}