projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcc00c4
)
LogicSignal: Only draw the trigger marker for enabled channels.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Sat, 28 Nov 2015 11:53:56 +0000
(12:53 +0100)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Sat, 28 Nov 2015 11:56:32 +0000
(12:56 +0100)
This makes the behaviour consistent across LogicSignal's three
painting functions (paint_back(), paint_mid() and paint_fore()).
pv/view/logicsignal.cpp
patch
|
blob
|
history
diff --git
a/pv/view/logicsignal.cpp
b/pv/view/logicsignal.cpp
index c23f09226cd9bfaa2cbaf3d362eca7065ad69088..63d15314cdcf23470261f72a82dafedde51619e3 100644
(file)
--- a/
pv/view/logicsignal.cpp
+++ b/
pv/view/logicsignal.cpp
@@
-249,7
+249,7
@@
void LogicSignal::paint_mid(QPainter &p, const ViewItemPaintParams &pp)
void LogicSignal::paint_fore(QPainter &p, const ViewItemPaintParams &pp)
{
// Draw the trigger marker
- if (!trigger_match_)
+ if (!trigger_match_
|| !channel_->enabled()
)
return;
const int y = get_visual_y();