File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3319,7 +3319,7 @@ void Score::cmdIncDecDuration(int nSteps, bool stepDotted)
33193319 staff2track (m_selection.staffEnd ()), selectionFilter (), m_selection.rangeContainsMultiNoteChords ());
33203320 pasteStaff (e, m_selection.startSegment (), m_selection.staffStart (), scale);
33213321 } else if (m_selection.isList ()) {
3322- std::set<ChordRest*> crs = getSelectedChordRests ();
3322+ const std::set<ChordRest*> crs = getSelectedChordRests ();
33233323 for (ChordRest* cr : crs) {
33243324 TDuration newDuration (stepDotted
33253325 ? cr->durationType ().fraction () * Fraction (3 , 3 + nSteps)
@@ -3337,7 +3337,9 @@ void Score::cmdIncDecDuration(int nSteps, bool stepDotted)
33373337 if (cr->isChord ()) {
33383338 e = toChord (cr)->upNote ();
33393339 }
3340- select (e, SelectType::ADD);
3340+ if (canReselectItem (e)) {
3341+ select (e, SelectType::ADD);
3342+ }
33413343 }
33423344 }
33433345}
You can’t perform that action at this time.
0 commit comments