mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2025-10-22 10:27:32 +03:00
Bands relocation has been fixed
This commit is contained in:
@@ -372,7 +372,7 @@ int BandDesignIntf::maxChildIndex(BandDesignIntf::BandsType bandType) const{
|
||||
int BandDesignIntf::maxChildIndex(QSet<BandDesignIntf::BandsType> ignoredBands) const{
|
||||
int curIndex = bandIndex();
|
||||
foreach(BandDesignIntf* childBand, childBands()){
|
||||
if (!ignoredBands.contains(childBand->bandType()) && childBand->bandIndex()>bandIndex()){
|
||||
if (!ignoredBands.contains(childBand->bandType())){
|
||||
curIndex = std::max(curIndex,childBand->maxChildIndex(ignoredBands));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user