From 388758fb83b10145821fb071fa88ebc5487caa29 Mon Sep 17 00:00:00 2001 From: Joachim Schmitz Date: Tue, 2 May 2023 11:37:16 +0200 Subject: [PATCH] Update barline.cpp --- libmscore/barline.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmscore/barline.cpp b/libmscore/barline.cpp index d750e98cd2bef..86a36c5ce7725 100644 --- a/libmscore/barline.cpp +++ b/libmscore/barline.cpp @@ -701,13 +701,13 @@ void BarLine::draw(QPainter* painter) const break; } Segment* s = segment(); - if (s && !score()->printing() && score()->showUnprintable()) { + if (s && !score()->printing() && score()->showUnprintable() && score()->markIrregularMeasures()) { Measure* m; if (s->isEndBarLineType()) m = s->measure(); else m = s->measure()->prevMeasure(); - if (m && m->isIrregular() && score()->markIrregularMeasures() && !m->isMMRest()) { + if (m && m->isIrregular() && !m->isMMRest()) { painter->setPen(MScore::layoutBreakColor); QFont f("Edwin"); f.setPointSizeF(12 * spatium() * MScore::pixelRatio / SPATIUM20);