Эх сурвалжийг харах

Fix cut-n-paste looking error where the header spacing is assigned to the footer spacing

Alejandro Dubrovsky 11 жил өмнө
parent
commit
9f193602f1

+ 1 - 1
src/lib/pdfconverter.cc

@@ -792,7 +792,7 @@ void PdfConverterPrivate::measuringHeadersLoaded(bool ok) {
 
 
         if (obj.measuringFooter) {
         if (obj.measuringFooter) {
             // add spacing to prevent moving footer out of page
             // add spacing to prevent moving footer out of page
-            obj.footerReserveHeight = calculateHeaderHeight(obj, *obj.measuringFooter) + obj.settings.header.spacing;
+            obj.footerReserveHeight = calculateHeaderHeight(obj, *obj.measuringFooter) + obj.settings.footer.spacing;
         }
         }
     }
     }
 #endif
 #endif