Skip to content

Commit

Permalink
fix #288250: instrument change does not transpose
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcSabatella committed Apr 26, 2019
1 parent 905355b commit d5096d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mscore/propertymenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ void ScoreView::elementPropertyAction(const QString& cmd, Element* e)
auto i = part->instruments()->upper_bound(tickStart.ticks()); // find(), ++i
Fraction tickEnd;
if (i == part->instruments()->end())
tickEnd = Fraction(-1,0);
tickEnd = Fraction(-1, 1);
else
tickEnd = Fraction::fromTicks(i->first);
ic->score()->transpositionChanged(part, oldV, tickStart, tickEnd);
Expand Down

0 comments on commit d5096d9

Please sign in to comment.