This commit is contained in:
Nyall Dawson 2020-01-13 17:22:31 +10:00
parent faf49490a1
commit 0c1264c6dd

View File

@ -228,7 +228,7 @@ bool QgsLayoutItemManualTable::calculateMaxRowHeights()
QMap<int, double> newHeights;
for ( auto it = mMaxRowHeightMap.constBegin(); it != mMaxRowHeightMap.constEnd(); ++it )
{
// first row in mMaxRowHeightMap correponds to header, which we ignore here
// first row in mMaxRowHeightMap corresponds to header, which we ignore here
const int row = it.key() - 1;
const double presetHeight = mRowHeights.value( row );
double thisRowHeight = it.value();