diff --git a/gui/src/Visualization/VisualizationGraphWidget.cpp b/gui/src/Visualization/VisualizationGraphWidget.cpp index 06e90b1..42ae3f0 100644 --- a/gui/src/Visualization/VisualizationGraphWidget.cpp +++ b/gui/src/Visualization/VisualizationGraphWidget.cpp @@ -962,8 +962,15 @@ void VisualizationGraphWidget::mousePressEvent(QMouseEvent *event) impl->startDrawingRect(event->pos()); break; default: - setCursor(Qt::ClosedHandCursor); - impl->enterPlotDrag(event->pos()); + if(auto item = impl->m_plot->itemAt(event->pos())) + { + emit impl->m_plot->itemClick(item,event); + } + else + { + setCursor(Qt::ClosedHandCursor); + impl->enterPlotDrag(event->pos()); + } } } //event->accept();