File tree 1 file changed +9
-8
lines changed
1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -3016,16 +3016,17 @@ EngravingItem* Score::move(const String& cmd)
3016
3016
Segment* s = m_is.segment ()->prev1 (SegmentType::ChordRest);
3017
3017
track_idx_t track = m_is.track ();
3018
3018
for (; s; s = s->prev1 (SegmentType::ChordRest)) {
3019
- if (s->element (track) || (s->measure () != m && s->rtick ().isZero ())) {
3020
- if (s->element (track)) {
3021
- el = s->nextChordRest (track, true );
3022
- noteEntryPos = true ;
3023
- if (s->element (track)->isRest () && toRest (s->element (track))->isGap ()) {
3024
- continue ;
3025
- }
3026
- }
3019
+ if (s->measure () != m && s->rtick ().isZero ()) {
3027
3020
break ;
3028
3021
}
3022
+ if (s->element (track)) {
3023
+ el = s->nextChordRest (track, true );
3024
+ noteEntryPos = true ;
3025
+ if (s->element (track)->isRest () && toRest (s->element (track))->isGap ()) {
3026
+ continue ;
3027
+ }
3028
+ break ;
3029
+ }
3029
3030
}
3030
3031
m_is.moveInputPos (s);
3031
3032
}
You can’t perform that action at this time.
0 commit comments