Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #30151: first ottava of 1.3 score can mess up playback of following notes #1197

Merged
merged 1 commit into from Aug 22, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 4 additions & 1 deletion libmscore/line.cpp
Expand Up @@ -777,8 +777,11 @@ bool SLine::readProperties(XmlReader& e)
{
const QStringRef& tag(e.name());

if (tag == "tick2") // obsolete
if (tag == "tick2") { // obsolete
if (tick() == -1) // not necessarily set (for first note of score?) #30151
setTick(0);
setTick2(e.readInt());
}
else if (tag == "tick") // obsolete
setTick(e.readInt());
else if (tag == "ticks")
Expand Down