From: Soeren Apel Date: Tue, 29 Dec 2015 07:02:39 +0000 (+0100) Subject: DecodeTrace: Use correct background colour X-Git-Tag: pulseview-0.3.0~20 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=f3697d314410ef2ce0ab8f53b11f7a9912c7b0cd;p=pulseview.git DecodeTrace: Use correct background colour This fixes bug #718. --- diff --git a/pv/view/decodetrace.cpp b/pv/view/decodetrace.cpp index 52e1c720..61f67b9e 100644 --- a/pv/view/decodetrace.cpp +++ b/pv/view/decodetrace.cpp @@ -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()));