X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Fdecodetrace.cpp;h=c2369e866fbe3b7286c602adc41735ed1c6a579b;hb=49c62417b6b306607048b07f86b73f127e3084a3;hp=9e41bc4ac1f515f0a457ce2bff384820b040447e;hpb=cd0c558b8e1dbae12c3faba2349d874942b96066;p=pulseview.git diff --git a/pv/view/decodetrace.cpp b/pv/view/decodetrace.cpp index 9e41bc4a..c2369e86 100644 --- a/pv/view/decodetrace.cpp +++ b/pv/view/decodetrace.cpp @@ -245,6 +245,9 @@ void DecodeTrace::paint_mid(QPainter &p, const ViewItemPaintParams &pp) // Draw the hatching draw_unresolved_period(p, annotation_height, pp.left(), pp.right()); + if ((int)visible_rows_.size() > max_visible_rows_) + owner_->extents_changed(false, true); + // Update the maximum row count if needed max_visible_rows_ = std::max(max_visible_rows_, (int)visible_rows_.size()); }