]> sigrok.org Git - pulseview.git/commit
TraceView: Prevent decode traces from changing order
authorSoeren Apel <redacted>
Sun, 23 Feb 2020 18:30:19 +0000 (19:30 +0100)
committerSoeren Apel <redacted>
Sun, 23 Feb 2020 18:30:19 +0000 (19:30 +0100)
commit38b77a3ba1738aebf516491cc95e25219938a877
treeef6c4d297cec8c3b48b214e53380bc37d6124c25
parent56c4de9ada023505b16b6d188fb77d9fb10e52e1
TraceView: Prevent decode traces from changing order

Before, decode traces sometimes switched places when opening a
class selector because max_visible_rows was reset to 0 which
makes v_extents() return a value so small that the next decode
trace would move up.

Also, triggering the lazy event handler was changed so that it
fires even when it's triggered several times. Before, it would
always reset and only fire once, after the triggering stopped.
That is undesirable when a class selector opens.
pv/views/trace/decodetrace.cpp
pv/views/trace/view.cpp