Skip to content

Commit

Permalink
Fix typo in a the name of a style setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Jojo-Schmitz committed Mar 9, 2021
1 parent 5edf0d5 commit ec18b3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libmscore/style.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ static const StyleType styleTypes[] {
{ Sid::mmRestNumberPos, "mmRestNumberPos", Spatium(-1.5) },
{ Sid::hideEmptyStaves, "hideEmptyStaves", QVariant(false) },
{ Sid::dontHideStavesInFirstSystem,
"dontHidStavesInFirstSystm", QVariant(true) },
"dontHideStavesInFirstSystem", QVariant(true) },
{ Sid::enableIndentationOnFirstSystem,
"enableIndentationOnFirstSystem", QVariant(true) },
{ Sid::firstSystemIndentationValue, "firstSystemIndentationValue", Spatium(5.0) },
Expand Down Expand Up @@ -3022,6 +3022,8 @@ void MStyle::load(XmlReader& e)
}
else if (tag == "lyricsDashMaxLegth") // pre-3.6 typo
set(Sid::lyricsDashMaxLength, e.readDouble());
else if (tag == "dontHidStavesInFirstSystm") // pre-3.6.3/4.0 typo
set(Sid::dontHideStavesInFirstSystem, e.readBool());
else if (!readProperties(e))
e.unknown();
}
Expand Down

0 comments on commit ec18b3e

Please sign in to comment.