This commit is contained in:
jkriege2 2022-08-25 15:30:39 +02:00
parent 03031e3762
commit 69adb3adfb

View File

@ -133,10 +133,10 @@ void JKQTPXYLineGraph::draw(JKQTPEnhancedPainter& painter) {
if (linesP.size()>0) { if (linesP.size()>0) {
if (isHighlighted()) { if (isHighlighted()) {
painter.setPen(penSelection); painter.setPen(penSelection);
painter.drawPolyline(linesP.data(), linesP.size()); painter.drawPolyline(linesP);
} }
painter.setPen(p); painter.setPen(p);
painter.drawPolyline(linesP.data(), linesP.size()); painter.drawPolyline(linesP);
} }
} }
} }