We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e75cf74 commit 10becbfCopy full SHA for 10becbf
mscore/scoreview.cpp
@@ -5103,6 +5103,8 @@ void ScoreView::cmdRepeatSelection()
5103
bool filtered = score()->selection().hasTemporaryFilter();
5104
if (endSegment->segmentType() != SegmentType::ChordRest)
5105
endSegment = endSegment->next1(SegmentType::ChordRest);
5106
+ if (!endSegment)
5107
+ return;
5108
auto e = (filtered && endSegment->element(eTrack)) ? endSegment->element(eTrack) : endSegment->element(staffTrack);
5109
if (e) {
5110
auto cr = toChordRest(e);
0 commit comments