From f1e3c96dcbe5439b6085cd939b1dbd568735ae52 Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Thu, 11 Jan 2018 02:20:40 +0300 Subject: [PATCH] group header printing has been fixed --- limereport/lrreportrender.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/limereport/lrreportrender.cpp b/limereport/lrreportrender.cpp index 3ea8052..1cdc23a 100644 --- a/limereport/lrreportrender.cpp +++ b/limereport/lrreportrender.cpp @@ -449,6 +449,8 @@ BandDesignIntf* ReportRender::renderBand(BandDesignIntf *patternBand, BandDesign if (!bandClone->isEmpty() || patternBand->printIfEmpty()){ if (!registerBand(bandClone)){ + if (patternBand && patternBand->isHeader() && patternBand->reprintOnEachPage()) + m_reprintableBands.removeOne(patternBand); if (bandClone->canBeSplitted(m_maxHeightByColumn[m_currentColumn])){ bandClone = sliceBand(bandClone,patternBand,isLast); } else {