]> sigrok.org Git - pulseview.git/commitdiff
Explicitly set analog signal painting colour
authorJoel Holdsworth <redacted>
Sat, 2 Mar 2013 08:49:05 +0000 (08:49 +0000)
committerJoel Holdsworth <redacted>
Sun, 3 Mar 2013 09:45:36 +0000 (09:45 +0000)
pv/view/analogsignal.cpp

index 7ea6a6fd87408f733af9f74cc8f1144d85c5f12e..209512b595880d9be9e55aed4947935e89b5ae22 100644 (file)
@@ -82,6 +82,7 @@ void AnalogSignal::paint(QPainter &p, int y, int left, int right, double scale,
                *point++ = QPointF(x, samples[sample] + y);
        }
 
+       p.setPen(_colour);
        p.drawPoints(points, point - points);
 
        delete[] points;