projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd0c558
)
DecodeTrace: Let the view know when we need more space
author
Soeren Apel
<soeren@apelpie.net>
Wed, 20 Apr 2016 16:27:29 +0000
(18:27 +0200)
committer
Soeren Apel
<soeren@apelpie.net>
Tue, 3 May 2016 19:11:40 +0000
(21:11 +0200)
pv/view/decodetrace.cpp
patch
|
blob
|
history
diff --git
a/pv/view/decodetrace.cpp
b/pv/view/decodetrace.cpp
index 9e41bc4ac1f515f0a457ce2bff384820b040447e..c2369e866fbe3b7286c602adc41735ed1c6a579b 100644
(file)
--- 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());
}