projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
289c1bd
)
DecodeTrace: Don't show tooltips destined for the header area
author
Soeren Apel
<soeren@apelpie.net>
Wed, 12 Jul 2017 07:05:39 +0000
(09:05 +0200)
committer
Soeren Apel
<soeren@apelpie.net>
Wed, 12 Jul 2017 07:05:39 +0000
(09:05 +0200)
pv/views/trace/decodetrace.cpp
patch
|
blob
|
history
diff --git
a/pv/views/trace/decodetrace.cpp
b/pv/views/trace/decodetrace.cpp
index b0395eaa05dc685828a6d31d3d69a1383be59361..e6b977ae01952ea1d22f377e8898b060c6fc3c1c 100644
(file)
--- a/
pv/views/trace/decodetrace.cpp
+++ b/
pv/views/trace/decodetrace.cpp
@@
-716,6
+716,12
@@
void DecodeTrace::hover_point_changed()
assert(view);
QPoint hp = view->hover_point();
+
+ if (hp.x() == 0) {
+ QToolTip::hideText();
+ return;
+ }
+
QString ann = get_annotation_at_point(hp);
assert(view);