Skip to content

Commit

Permalink
gui/TimePlotInfo: fix div/s info not being event transparent
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Popa <[email protected]>
  • Loading branch information
andrei47w authored and andreidanila1 committed Apr 17, 2024
1 parent c9f6334 commit b6659ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/src/widgets/plotinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b6659ff

Please sign in to comment.