From: Soeren Apel Date: Wed, 12 Jul 2017 07:05:39 +0000 (+0200) Subject: DecodeTrace: Don't show tooltips destined for the header area X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=53b652bdde928b42a116e60f5c07800d0bd0b873;p=pulseview.git DecodeTrace: Don't show tooltips destined for the header area --- diff --git a/pv/views/trace/decodetrace.cpp b/pv/views/trace/decodetrace.cpp index b0395eaa..e6b977ae 100644 --- 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);