Skip to content

Commit

Permalink
Merge pull request #4553 from mattmcclinch/281411-reset-lyrics
Browse files Browse the repository at this point in the history
fix #281411: Lyrics: select all and reset causes program to freeze
  • Loading branch information
anatoly-os committed Jan 14, 2019
2 parents e476615 + 94b6b8f commit f902d05
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libmscore/scoreElement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@ void ScoreElement::undoChangeProperty(Pid id, const QVariant& v)

void ScoreElement::undoChangeProperty(Pid id, const QVariant& v, PropertyFlags ps)
{
if ((getProperty(id) == v) && (propertyFlags(id) == ps))
return;
bool doUpdateInspector = false;
if (id == Pid::PLACEMENT || id == Pid::HAIRPIN_TYPE) {
// first set property, then set offset for above/below if styled
Expand Down

0 comments on commit f902d05

Please sign in to comment.