fix #251301: wrong octave in status display for transposing instruments
This commit is contained in:
parent
3319f3a1fa
commit
e4f97af954
1 changed files with 1 additions and 1 deletions
|
@ -767,7 +767,7 @@ int Note::tpc() const
|
|||
QString Note::tpcUserName(bool explicitAccidental) const
|
||||
{
|
||||
QString pitchName = tpc2name(tpc(), NoteSpellingType::STANDARD, NoteCaseType::AUTO, explicitAccidental);
|
||||
QString octaveName = QString::number((pitch() / 12) - 1);
|
||||
QString octaveName = QString::number((epitch() / 12) - 1);
|
||||
return pitchName + (explicitAccidental ? " " : "") + octaveName;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue