From 66a34df18e14767ae8d839b5f6eeaf5db16a285d Mon Sep 17 00:00:00 2001 From: James Thistlewood Date: Sun, 16 Dec 2018 10:58:03 +0000 Subject: [PATCH] fix #280137: selecting measure in part doesn't play from measure --- libmscore/score.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libmscore/score.cpp b/libmscore/score.cpp index c84bbb319c8f..c34f65af97ab 100644 --- a/libmscore/score.cpp +++ b/libmscore/score.cpp @@ -3020,8 +3020,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(); }