Skip to content

Commit

Permalink
fix #301946 - automatically append measures for real time automatic i…
Browse files Browse the repository at this point in the history
…nput mode
  • Loading branch information
nathanesau committed Mar 27, 2020
1 parent a15bde4 commit 54b6c17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mscore/scoreview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4157,6 +4157,8 @@ void ScoreView::cmdRealtimeAdvance()
if (!is.cr() || (is.cr()->ticks() != is.duration().fraction() && is.duration() < ticks2measureEnd))
_score->setNoteRest(is.segment(), is.track(), NoteVal(), is.duration().fraction(), Direction::AUTO);
ChordRest* prevCR = toChordRest(is.cr());
if (_score->inputState().endOfScore())
_score->appendMeasures(1);
is.moveToNextInputPos();
if (_score->activeMidiPitches()->empty())
_score->setNoteRest(is.segment(), is.track(), NoteVal(), is.duration().fraction(), Direction::AUTO);
Expand Down

0 comments on commit 54b6c17

Please sign in to comment.