Skip to content

Commit

Permalink
Merge pull request #4413 from jthistle/280137-part-measure-select
Browse files Browse the repository at this point in the history
fix #280137: selecting measure in part doesn't play from measure
  • Loading branch information
anatoly-os committed Dec 18, 2018
2 parents 5918ae5 + 66a34df commit a7d8f10
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions libmscore/score.cpp
Expand Up @@ -3022,8 +3022,11 @@ void Score::selectRange(Element* e, int staffIdx)
_selection.setActiveTrack(activeTrack);

// doing this in note entry mode can clear selection
if (_selection.startSegment() && !noteEntryMode())
setPlayPos(_selection.startSegment()->tick());
if (_selection.startSegment() && !noteEntryMode()) {
int tick = _selection.startSegment()->tick();
if (masterScore()->playPos() != tick)
masterScore()->setPlayPos(tick);
}

_selection.updateSelectedElements();
}
Expand Down

0 comments on commit a7d8f10

Please sign in to comment.