0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-26 01:24:39 +03:00

group header printing has been fixed

This commit is contained in:
Arin Alexander 2018-01-11 02:20:58 +03:00
commit fa710d2dcf

View File

@ -449,6 +449,8 @@ BandDesignIntf* ReportRender::renderBand(BandDesignIntf *patternBand, BandDesign
if (!bandClone->isEmpty() || patternBand->printIfEmpty()){ if (!bandClone->isEmpty() || patternBand->printIfEmpty()){
if (!registerBand(bandClone)){ if (!registerBand(bandClone)){
if (patternBand && patternBand->isHeader() && patternBand->reprintOnEachPage())
m_reprintableBands.removeOne(patternBand);
if (bandClone->canBeSplitted(m_maxHeightByColumn[m_currentColumn])){ if (bandClone->canBeSplitted(m_maxHeightByColumn[m_currentColumn])){
bandClone = sliceBand(bandClone,patternBand,isLast); bandClone = sliceBand(bandClone,patternBand,isLast);
} else { } else {