Skip to content

Commit

Permalink
fix #20083: Fall/Doit modification causes unredable mscx file and crash
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed Apr 26, 2013
1 parent c2bf9a9 commit 3e351c1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libmscore/chordline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,12 @@ void ChordLine::read(XmlReader& e)
}
break;
}
e.skipCurrentElement(); //needed to go to next Element in Path
}
else
e.unknown();
}
modified = true;
setChordLineType(ChordLineType(0));
}
else if (tag == "subtype")
setChordLineType(ChordLineType(e.readInt()));
Expand Down Expand Up @@ -247,7 +247,6 @@ void ChordLine::editDrag(const EditData& ed)
}
path = p;
modified = true;
setChordLineType(ChordLineType(0));
}

//---------------------------------------------------------
Expand Down

0 comments on commit 3e351c1

Please sign in to comment.