]> sigrok.org Git - pulseview.git/commitdiff
DecodeTrace: Draw the error over the unresolved period
authorJoel Holdsworth <redacted>
Sat, 8 Feb 2014 17:02:11 +0000 (17:02 +0000)
committerUwe Hermann <redacted>
Sun, 9 Feb 2014 18:44:15 +0000 (19:44 +0100)
pv/view/decodetrace.cpp

index d27f1ae01796a06c20e82eeba18ef3005f69ab3d..61f285657d48a147833b4489aaf887a5d1f87888 100644 (file)
@@ -182,9 +182,9 @@ void DecodeTrace::paint_mid(QPainter &p, int left, int right)
        const QString err = _decoder_stack->error_message();
        if (!err.isEmpty())
        {
-               draw_error(p, err, left, right);
                draw_unresolved_period(p, annotation_height, left, right,
                        samples_per_pixel, pixels_offset);
+               draw_error(p, err, left, right);
                return;
        }