From b6659ff5480948a865a2f4eaaa2cb402415cdabd Mon Sep 17 00:00:00 2001 From: Andrei Popa Date: Thu, 11 Apr 2024 10:18:10 +0300 Subject: [PATCH] gui/TimePlotInfo: fix div/s info not being event transparent Signed-off-by: Andrei Popa --- gui/src/widgets/plotinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/src/widgets/plotinfo.cpp b/gui/src/widgets/plotinfo.cpp index 2c7df05f19..a1cc67cf4a 100644 --- a/gui/src/widgets/plotinfo.cpp +++ b/gui/src/widgets/plotinfo.cpp @@ -76,7 +76,7 @@ TimePlotInfo::TimePlotInfo(PlotWidget *plot, QWidget *parent) hdivhover->setContentPos(HoverPosition::HP_BOTTOMRIGHT); hdivhover->setAnchorOffset(QPoint(8, 6)); hdivhover->show(); - m_hdiv->setAttribute(Qt::WA_TransparentForMouseEvents); + hdivhover->setAttribute(Qt::WA_TransparentForMouseEvents); HoverWidget *samplinginfohover = new HoverWidget(nullptr, plot->plot()->canvas(), plot->plot()); samplinginfohover->setContent(m_sampling);