Skip to content

Commit

Permalink
Merge pull request #71 from heuchi/fix_AddElement_tie
Browse files Browse the repository at this point in the history
AddElement() call to updateNotes() changed to cmdUpdateNotes()
  • Loading branch information
lasconic committed Oct 14, 2012
2 parents fdd8040 + 3b39479 commit 6952215
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libmscore/undo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1221,7 +1221,7 @@ void AddElement::undo()
Measure* m2 = tie->endNote()->chord()->measure();

if (m1 != m2)
tie->score()->updateNotes();
tie->score()->cmdUpdateNotes();
else
tie->score()->updateAccidentals(m1, tie->staffIdx());
}
Expand All @@ -1243,7 +1243,7 @@ void AddElement::redo()
Measure* m2 = tie->endNote() ? tie->endNote()->chord()->measure() : 0;

if (m2 && (m1 != m2))
tie->score()->updateNotes();
tie->score()->cmdUpdateNotes();
else
tie->score()->updateAccidentals(m1, tie->staffIdx());
}
Expand Down

0 comments on commit 6952215

Please sign in to comment.