Skip to content

Commit

Permalink
fix #181886: Regression: Continuous tuplet creating on same place cau…
Browse files Browse the repository at this point in the history
…ses crash
  • Loading branch information
lasconic committed Mar 21, 2017
1 parent 1f10b73 commit ad5f405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mscore/scoreview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4772,7 +4772,7 @@ void ScoreView::setCursorVisible(bool v)

void ScoreView::cmdTuplet(int n, ChordRest* cr)
{
if (cr->durationType() < TDuration(TDuration::DurationType::V_128TH) && cr->durationType() != TDuration(TDuration::DurationType::V_MEASURE)) {
if (cr->durationType() <= TDuration(TDuration::DurationType::V_128TH) && cr->durationType() != TDuration(TDuration::DurationType::V_MEASURE)) {
mscore->noteTooShortForTupletDialog();
return;
}
Expand Down

0 comments on commit ad5f405

Please sign in to comment.