Skip to content

Commit

Permalink
Merge pull request #1314 from MarcSabatella/33281-page-settings
Browse files Browse the repository at this point in the history
fix #33281: page layout settings ignored
  • Loading branch information
lasconic committed Sep 22, 2014
2 parents 5b35583 + 13f5243 commit d6701c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mscore/pagesettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand All @@ -273,6 +274,7 @@ void PageSettings::twosidedToggled(bool flag)
pf.copy(*preview->score()->pageFormat());
pf.setTwosided(flag);
preview->score()->setPageFormat(pf);
updateValues();
updatePreview(1);
}

Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit d6701c5

Please sign in to comment.