Skip to content

Commit

Permalink
fix #278760: weird behavior of changing Height in page settings window
Browse files Browse the repository at this point in the history
Fix dummy copy-paste mistake
  • Loading branch information
anatoly-os committed Nov 25, 2018
1 parent 7cfa84a commit 51ee965
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mscore/pagesettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -528,8 +528,8 @@ void PageSettings::pageHeightChanged(double val)
val2 /= INCH;
}
pageGroup->setCurrentIndex(0); // custom
preview->score()->style().set(Sid::pageWidth, val);
preview->score()->style().set(Sid::pageHeight, val2);
preview->score()->style().set(Sid::pageHeight, val);
preview->score()->style().set(Sid::pageWidth, val2);

updatePreview(1);
}
Expand Down

1 comment on commit 51ee965

@sidewayss
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was debugging the wrong event. Thanks for the quick turnaround.

Please sign in to comment.