Merge pull request #4413 from jthistle/280137-part-measure-select
fix #280137: selecting measure in part doesn't play from measure
This commit is contained in:
commit
a7d8f102fc
1 changed files with 5 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue