fix #33281: page layout settings ignored

This commit is contained in:
Marc Sabatella 2014-09-15 19:48:23 -06:00
parent 3338af928a
commit 13f52434ba

View file

@ -260,6 +260,7 @@ void PageSettings::landscapeToggled(bool flag)
double f = mmUnit ? 1.0/INCH : 1.0;
pf.setPrintableWidth(pf.width() - (oddPageLeftMargin->value() + oddPageRightMargin->value()) * f);
preview->score()->setPageFormat(pf);
updateValues();
updatePreview(0);
}
@ -273,6 +274,7 @@ void PageSettings::twosidedToggled(bool flag)
pf.copy(*preview->score()->pageFormat());
pf.setTwosided(flag);
preview->score()->setPageFormat(pf);
updateValues();
updatePreview(1);
}
@ -358,6 +360,7 @@ void PageSettings::pageFormatSelected(int size)
double f = mmUnit ? 1.0/INCH : 1.0;
pf.setPrintableWidth(pf.width() - (oddPageLeftMargin->value() + oddPageRightMargin->value()) * f);
preview->score()->setPageFormat(pf);
updateValues();
updatePreview(0);
}