X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fdecodetrace.cpp;h=208185ac63a7e26ccb0da39ac11bae73b501aed6;hp=211d46e448a531d3313c205745ff4aaf015a1133;hb=f98070844c2d468fdbb6beb5b65e4ccbbcd3f10b;hpb=bc4b9ccfc78d9d0987525360fa6d93bed681951a diff --git a/pv/views/trace/decodetrace.cpp b/pv/views/trace/decodetrace.cpp index 211d46e..208185a 100644 --- a/pv/views/trace/decodetrace.cpp +++ b/pv/views/trace/decodetrace.cpp @@ -196,8 +196,7 @@ void DecodeTrace::paint_mid(QPainter &p, ViewItemPaintParams &pp) current_segment_, sample_range.first, sample_range.second); if (!annotations.empty()) { draw_annotations(annotations, p, annotation_height, pp, y, - get_row_color(visible_rows_.size()), row_title_width); - + get_row_color(row.index()), row_title_width); y += row_height_; visible_rows_.push_back(row); }