projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f290e9
)
Don't allow disabled probes to be selected
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sat, 15 Mar 2014 07:48:49 +0000
(08:48 +0100)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sat, 15 Mar 2014 07:48:49 +0000
(08:48 +0100)
This fixes #313
pv/view/trace.cpp
patch
|
blob
|
history
diff --git
a/pv/view/trace.cpp
b/pv/view/trace.cpp
index d4bc69f2f93346222c57861d5b26c4bc3157754f..d10448f3eac071b535df4c25148a42700eb70486 100644
(file)
--- a/
pv/view/trace.cpp
+++ b/
pv/view/trace.cpp
@@
-165,7
+165,7
@@
bool Trace::pt_in_label_rect(int left, int right, const QPoint &point)
(void)left;
const QRectF label = get_label_rect(right);
- return QRectF(
+ return
enabled() &&
QRectF(
QPointF(label.left() - LabelHitPadding,
label.top() - LabelHitPadding),
QPointF(right, label.bottom() + LabelHitPadding)