projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bccef54
)
DecodeTrace: Don't attempt to hover if the trace hasn't been painted yet
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sat, 22 Nov 2014 15:03:16 +0000
(15:03 +0000)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sat, 22 Nov 2014 15:15:55 +0000
(15:15 +0000)
pv/view/decodetrace.cpp
patch
|
blob
|
history
diff --git
a/pv/view/decodetrace.cpp
b/pv/view/decodetrace.cpp
index 01bf934c47095003e3265420622344a6235dc92a..6947491a285ead6b3317e166e4ca645354d627c6 100644
(file)
--- a/
pv/view/decodetrace.cpp
+++ b/
pv/view/decodetrace.cpp
@@
-609,9
+609,8
@@
void DecodeTrace::hover_point_changed()
QString ann = get_annotation_at_point(hp);
assert(view);
- assert(row_height_);
- if (ann.isEmpty()) {
+ if (
!row_height_ ||
ann.isEmpty()) {
hide_hover_annotation();
return;
}