]> sigrok.org Git - pulseview.git/commitdiff
DecodeTrace: Use correct background colour
authorSoeren Apel <redacted>
Tue, 29 Dec 2015 07:02:39 +0000 (08:02 +0100)
committerUwe Hermann <redacted>
Tue, 29 Dec 2015 12:32:22 +0000 (13:32 +0100)
This fixes bug #718.

pv/view/decodetrace.cpp

index 52e1c72062afa5cb63519d9da6e68c509b1b9f07..61f67b9eb584ca424786e59c753b0354fb4e1216 100644 (file)
@@ -138,7 +138,7 @@ DecodeTrace::DecodeTrace(pv::Session &session,
 {
        assert(decoder_stack_);
 
-       colour_ = DecodeColours[index % countof(DecodeColours)];
+       set_colour(DecodeColours[index % countof(DecodeColours)]);
 
        connect(decoder_stack_.get(), SIGNAL(new_decode_data()),
                this, SLOT(on_new_decode_data()));